Jeremy Ashkenas
|
24408c785a
|
caught a close call bug with object comprehensions and not specifying the value
|
2010-01-10 17:44:19 -05:00 |
|
Jeremy Ashkenas
|
bb5bf7f94f
|
more docs, more tests
|
2010-01-10 17:36:06 -05:00 |
|
Jeremy Ashkenas
|
ad18378f7e
|
adding '::' as shorthand for '.prototype.'
|
2010-01-10 16:16:59 -05:00 |
|
Jeremy Ashkenas
|
902febb43a
|
big commit -- adding back object comprehensions, using 'ino', versus 'in' for array comprehensions, fixing bug with dollar signs in identifiers
|
2010-01-10 15:52:23 -05:00 |
|
Jeremy Ashkenas
|
13fc8aea04
|
removing object comprehensions from CoffeeScript, they were necessitating the generation of too much ugly JS
|
2010-01-10 14:45:44 -05:00 |
|
Jeremy Ashkenas
|
8e3922b6c6
|
allowing comments in the middle of switch statements
|
2010-01-09 13:25:44 -05:00 |
|
Jeremy Ashkenas
|
2319affa61
|
allowing chained calls broken up over multiple lines with periods at the front (jQuery-style)
|
2010-01-09 12:12:38 -05:00 |
|
Jeremy Ashkenas
|
7befbddae2
|
adding test for body-less while, using null as the body so JSLint doesn't get in a tizzy
|
2010-01-09 11:58:50 -05:00 |
|
Jeremy Ashkenas
|
4c3f00cf77
|
fixing calling super from constructors
|
2010-01-08 10:54:44 -05:00 |
|
Jeremy Ashkenas
|
9ed8020b84
|
added the constructor fix for capitalized functions
|
2010-01-06 23:34:56 -05:00 |
|
Jeremy Ashkenas
|
cf7079a379
|
fixing the lexer to handle strings that end with a backslash character
|
2010-01-06 23:15:13 -05:00 |
|
Jeremy Ashkenas
|
fbcdc12a9c
|
adding empty return statements -- they return null
|
2010-01-06 21:21:42 -05:00 |
|
Jeremy Ashkenas
|
4fc40e4841
|
adding the 'in' operator
|
2010-01-05 23:29:43 -05:00 |
|
Jeremy Ashkenas
|
0275e7775f
|
fixing weepy's comment scenario
|
2010-01-05 23:15:32 -05:00 |
|
Jeremy Ashkenas
|
001e42b85c
|
fixing range literals by making them values, not expressions, and adding tests
|
2010-01-05 22:49:51 -05:00 |
|
Jeremy Ashkenas
|
c2bb93b5f8
|
ellipsis is the new splat
|
2010-01-05 21:40:36 -05:00 |
|
Jeremy Ashkenas
|
5fe419b1ce
|
automatic conversion of arguments into arrays
|
2010-01-05 09:10:45 -05:00 |
|
Jeremy Ashkenas
|
ba3c5298f7
|
adding a block test and using PARAM_SPLAT to remove the last shift/reduce conflict
|
2010-01-03 10:46:37 -05:00 |
|
Jeremy Ashkenas
|
7ee5be674d
|
adding splice literals, with tests
|
2010-01-02 00:20:24 -05:00 |
|
Jeremy Ashkenas
|
75d9e23df4
|
better existence test, with tests
|
2010-01-01 12:41:55 -05:00 |
|
Jeremy Ashkenas
|
0f81dbe913
|
adding steps to range comprehensions
|
2010-01-01 11:54:59 -05:00 |
|
Jeremy Ashkenas
|
e30a267c9d
|
fixing precedence order, so that you can nest range comprehensions
|
2010-01-01 11:19:57 -05:00 |
|
Jeremy Ashkenas
|
305f883eab
|
making range comprehensions compile safely, even when you assign to the same variable as your endposts.
|
2010-01-01 10:55:43 -05:00 |
|
Jeremy Ashkenas
|
f622fc43bc
|
--
|
2010-01-01 10:40:29 -05:00 |
|
Jeremy Ashkenas
|
a93a570603
|
allowing indentation within function calls
|
2010-01-01 10:38:28 -05:00 |
|
Jeremy Ashkenas
|
02fbd28e58
|
adding a test for expressions in range comprehensions
|
2010-01-01 10:20:29 -05:00 |
|
Jeremy Ashkenas
|
2cef93b381
|
test for uminus
|
2010-01-01 10:17:33 -05:00 |
|
Jeremy Ashkenas
|
ad5b5fa458
|
fixing the regex lexer to make it less agressive when we know it can't possibly be a regex
|
2010-01-01 09:49:18 -05:00 |
|
Jeremy Ashkenas
|
409283a30f
|
adding splats as arguments to function calls
|
2009-12-31 19:52:13 -05:00 |
|
Jeremy Ashkenas
|
1d2bb3b2be
|
adding splats to function definitions
|
2009-12-31 17:50:12 -05:00 |
|
Jeremy Ashkenas
|
bfd7455db4
|
adding a test for multiline-array-comprehension-with-filter
|
2009-12-31 16:13:52 -05:00 |
|
Jeremy Ashkenas
|
44fec922a4
|
adding a filtered object comprehension test
|
2009-12-31 15:08:54 -05:00 |
|
Jeremy Ashkenas
|
07d0044718
|
using push for comprehension results so that it works with object keys, and adding a test for object comprehensions
|
2009-12-31 15:03:32 -05:00 |
|
Jeremy Ashkenas
|
f9d630119d
|
adding a test case for named functions
|
2009-12-31 10:52:00 -05:00 |
|
Jeremy Ashkenas
|
8762162dff
|
adding proper auto-newline escaping
|
2009-12-30 22:49:25 -05:00 |
|
Jeremy Ashkenas
|
a6539a030c
|
allowing any manner of indentation in the comments, by adjusting them in the lexer
|
2009-12-30 22:24:40 -05:00 |
|
Jeremy Ashkenas
|
5659d1bd49
|
adding ')' as a SINGLE_CLOSER, although it's probably unsafe
|
2009-12-30 18:09:43 -05:00 |
|
Jeremy Ashkenas
|
9a7c075e06
|
parser and test tweaks for whitespace -- tests are coming along
|
2009-12-30 17:58:27 -05:00 |
|
Jeremy Ashkenas
|
9a946d2ac5
|
execution tests still pass -- more lexer block insertion and 2 shift/reduces in the grammar now
|
2009-12-30 15:52:07 -05:00 |
|
Jeremy Ashkenas
|
c822f96145
|
patching up the lexer and adding a test with trailing whitespace (it was too string for trailing whitespace before)
|
2009-12-30 15:10:47 -05:00 |
|
Jeremy Ashkenas
|
96803d0129
|
killing some newlines in the execution tests, to test the lexer's newline suppression
|
2009-12-29 10:02:19 -05:00 |
|
Jeremy Ashkenas
|
ae112d6087
|
changing array comprehension filters from 'where' to 'when' to mirror case/when
|
2009-12-29 09:55:37 -05:00 |
|
Jeremy Ashkenas
|
3fbb870d01
|
using 'where' for array comprehension filtering, after kamatsu's suggestion -- execution tests pass now with significant whitespace
|
2009-12-29 08:52:26 -05:00 |
|
Jeremy Ashkenas
|
cea417de02
|
moving along with whitespace
|
2009-12-28 23:08:02 -05:00 |
|
Jeremy Ashkenas
|
aa45456d7d
|
part of the way to supporting multiline array comprehensions -- the grammar and parsing is there -- the code generation is tricky
|
2009-12-27 21:50:02 -08:00 |
|
Jeremy Ashkenas
|
eeef8d3612
|
got negative ranges working with (much, much) uglier compiled code
|
2009-12-26 20:35:43 -08:00 |
|
Jeremy Ashkenas
|
08dddb27a0
|
adding newline escaping, with tests
|
2009-12-26 09:29:03 -08:00 |
|
Jeremy Ashkenas
|
ff78546465
|
added array comprehensions over ranges
|
2009-12-26 00:16:40 -08:00 |
|
Jeremy Ashkenas
|
834442148b
|
docs for assignment-as-expression
|
2009-12-25 23:17:34 -08:00 |
|
Jeremy Ashkenas
|
dd5317ebe9
|
documenting ranges and slices
|
2009-12-25 16:35:57 -08:00 |
|