Jeremy Ashkenas
|
c0f9058f15
|
range comprehensions are working smooth
|
2010-02-12 13:51:44 -05:00 |
|
Jeremy Ashkenas
|
96eb7e2339
|
merging master
|
2010-02-05 22:02:11 -05:00 |
|
Jeremy Ashkenas
|
b795ae7fe1
|
removing arguments as a keyword -- we can detect its use at code-generation time.
|
2010-02-05 22:01:11 -05:00 |
|
Jeremy Ashkenas
|
557cdbba71
|
rewriter is halfway done, and working
|
2010-01-30 17:24:48 -05:00 |
|
Jeremy Ashkenas
|
2f3a94678f
|
fixing instanceof, with a quick test
|
2010-01-27 07:55:40 -05:00 |
|
Jeremy Ashkenas
|
386d3dd307
|
complete implicit functions, I think these are done.
|
2010-01-26 21:15:56 -05:00 |
|
Jeremy Ashkenas
|
e998a81b63
|
removing block literals in favor of implicit calls
|
2010-01-26 21:05:26 -05:00 |
|
Jeremy Ashkenas
|
aa93d3c387
|
first draft of whitespace-sensitive method calls and indexes.
|
2010-01-26 20:59:52 -05:00 |
|
Jeremy Ashkenas
|
ab4a4a5580
|
make nested implicit indentation just a little bit smarter about outdents and stack levels
|
2010-01-26 14:49:33 -05:00 |
|
Jeremy Ashkenas
|
a9f016e292
|
trying out new arrows for function literals -> is a function, => is a bound function
|
2010-01-26 10:52:05 -05:00 |
|
Jeremy Ashkenas
|
55df898112
|
adding bound functions to the list of implicit call activator tokens
|
2010-01-26 10:41:28 -05:00 |
|
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 |
|