Jeremy Ashkenas
|
fb7fd53bdf
|
enabling passed functions to fire implicit method calls
|
2010-01-26 02:27:19 -05:00 |
|
Jeremy Ashkenas
|
29e4043f26
|
tests passing with smarter block syntax with optional parens
|
2010-01-26 02:15:08 -05:00 |
|
Jeremy Ashkenas
|
460b3f6d8e
|
first draft of mandatory parentheses around function definition param lists -- all tests pass
|
2010-01-26 00:40:58 -05:00 |
|
Jeremy Ashkenas
|
d6e206b420
|
adding line number info to unclosed parens, objects, arrays, and indents
|
2010-01-25 21:07:18 -05:00 |
|
Jeremy Ashkenas
|
91e703052c
|
fixing chained single-line if-elses with a smarter rewriter.
|
2010-01-25 20:52:33 -05:00 |
|
Jeremy Ashkenas
|
8d63d269b8
|
making all postfix forms close out implicit calls, as in Ruby
|
2010-01-24 23:56:27 -05:00 |
|
Jeremy Ashkenas
|
a5d39efdd2
|
converted the tests to use optional parentheses -- lot's of little subtleties to work out
|
2010-01-24 23:40:45 -05:00 |
|
Jeremy Ashkenas
|
70e3a6ef2f
|
first draft of optional parentheses, with a couple tests ... more to follow
|
2010-01-24 22:32:06 -05:00 |
|
Jeremy Ashkenas
|
791d874058
|
fixing comments as the last line of a block
|
2010-01-20 20:36:31 -05:00 |
|
Jeremy Ashkenas
|
1e7d638435
|
adding bound functions, with test
|
2010-01-13 20:59:57 -05:00 |
|
Jeremy Ashkenas
|
27f7ef09af
|
allow leading newlines in coffee scripts
|
2010-01-12 08:49:39 -05:00 |
|
Jeremy Ashkenas
|
0275e7775f
|
fixing weepy's comment scenario
|
2010-01-05 23:15:32 -05:00 |
|
Jeremy Ashkenas
|
672dd70bdb
|
more underscore examples raised a slight bug with a lexing ambiguity between leading whens (in switches), and trailing whens (in comprehensions) -- made two different tokens to distinguish them
|
2010-01-03 22:25:38 -05:00 |
|
Jeremy Ashkenas
|
4e8a12d70d
|
done commenting the rewriter
|
2009-12-31 13:45:07 -05:00 |
|
Jeremy Ashkenas
|
edf1fc769f
|
detailed scan_tokens so that the calling function can indicate the number of spaces to move forward (or backward) in the token stream
|
2009-12-31 13:43:24 -05:00 |
|
Jeremy Ashkenas
|
a376e7f4a3
|
pulled out all token-stream-rewriting logic into the CoffeeScript::Rewriter -- let the lexer be simpleminded
|
2009-12-31 13:22:33 -05:00 |
|