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
|
43edd29d22
|
comment about test_execution being the most important
|
2009-12-31 18:09:48 -05:00 |
|
Jeremy Ashkenas
|
1d2bb3b2be
|
adding splats to function definitions
|
2009-12-31 17:50:12 -05:00 |
|
Jeremy Ashkenas
|
f299972713
|
expressions nested in expressions made for some indentation issues -- statements are now responsible for their own leading indentation
|
2009-12-31 16:50:46 -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
|
00538bd62c
|
adding weepy's suggestion to use (for .. in) for array comprehensions, which means that they're now object comprehensions as well
|
2009-12-31 14:52:14 -05:00 |
|
Jeremy Ashkenas
|
f9d630119d
|
adding a test case for named functions
|
2009-12-31 10:52:00 -05:00 |
|
Jeremy Ashkenas
|
b1fa06ff70
|
updating tests for named functions
|
2009-12-30 23:14:29 -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
|
ec60205014
|
getting there, finally ... all tests are green for whitespace
|
2009-12-30 21:51:23 -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
|
6ddd808f74
|
removing dots from whitespace examples
|
2009-12-30 00:22:27 -05:00 |
|
Jeremy Ashkenas
|
90051e9096
|
clean up a couple of test errors for whitespace
|
2009-12-30 00:08:49 -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
|
f44443b58a
|
still some kinks to work out -- mid-expression blocks
|
2009-12-29 09:18:41 -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
|
bb84a982ce
|
merging in master
|
2009-12-28 20:06:23 -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
|
b4250c0f02
|
that's it for now for significant whitespace -- I really just can't make flexible enough
|
2009-12-26 19:29:59 -08:00 |
|
Jeremy Ashkenas
|
cc0c92d20d
|
smarter but uglier lexer -- now handles most significant whitespace cases. Clean it up though... (newlines after outdents)
|
2009-12-26 13:22:53 -08:00 |
|
Jeremy Ashkenas
|
fde9852090
|
removing no_paren -- can cause order of operations errors
|
2009-12-26 11:10:59 -08:00 |
|
Jeremy Ashkenas
|
556f8cb68a
|
little more progress on whitespace
|
2009-12-26 10:49:11 -08:00 |
|
Jeremy Ashkenas
|
08dddb27a0
|
adding newline escaping, with tests
|
2009-12-26 09:29:03 -08:00 |
|
Jeremy Ashkenas
|
3c67d54bbe
|
changed bin/coffee-script to bin/coffee
|
2009-12-26 08:57:13 -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
|
adaae0ccae
|
major internal reworking -- all variable declarations have been pushed up to the first line of the block scope -- all assignment is now an inherent expression
|
2009-12-25 22:57:33 -08:00 |
|
Jeremy Ashkenas
|
7c132d65dc
|
started raising syntax errors for parens wrapped around expressions (they used to silently be ignored)
|
2009-12-25 20:36:22 -08:00 |
|
Jeremy Ashkenas
|
dd5317ebe9
|
documenting ranges and slices
|
2009-12-25 16:35:57 -08:00 |
|
Jeremy Ashkenas
|
1ba7c77136
|
reorganizing test fixtures and adding range literals for array slices
|
2009-12-25 16:20:28 -08:00 |
|
Jeremy Ashkenas
|
d46bf8ee71
|
moved the coffeescript extension over from .cs to .coffee -- let's leave C# in peace. Changed array comprehensions to always return their mapped result, even when unassigned
|
2009-12-25 14:18:05 -08:00 |
|