Jeremy Ashkenas
80230414a2
merging in gfxmonk's major refactor to the way that returns are pushed down into the interior of expressions
2010-03-21 11:28:05 -04:00
gfxmonk
cc3c314988
Cleaned up return logic
...
- ReturnNodes are explicitly added during compilation
- ReturnNode is used instead of scattering "return" throughout
code compilation snippets
- nodes gain a make_return method in order to do the most useful
thing when a return is requested
2010-03-21 22:21:55 +11:00
Jeremy Ashkenas
b5af5f66fb
more regexp and string interpolation tweaks
2010-03-08 21:34:10 -05:00
Jeremy Ashkenas
22b97a3b54
documenting scope.coffee -- nodes.coffee is the next, and last up to bat.
2010-03-07 15:45:45 -05:00
Jeremy Ashkenas
e977967eb5
implementing the CoffeeScript compiler using interpolation where appropriate.
2010-03-06 13:59:11 -05:00
Jeremy Ashkenas
5fd0972b5d
improvement to comment handling that should ensure that they have no effect on indentation
2010-03-02 19:23:21 -05:00
Jeremy Ashkenas
e02ab76edf
converting the remainder of the CoffeeScript compiler (Rewriter, Scope, Optparse) to use classes
2010-02-27 19:46:45 -05:00
Jeremy Ashkenas
2a46e13d33
moving print_tokens (the pretty printer) from coffee_script to command_line
2010-02-24 18:56:32 -05:00
Jeremy Ashkenas
a278d8f018
adding an extra pair of braces to the code produced by object comprehensions, so as to squeak by in JSLint's good graces
2010-02-18 20:22:53 -05:00
Jeremy Ashkenas
879b3d76bd
light refactors to scope.coffee
2010-02-17 23:37:39 -05:00
Jeremy Ashkenas
138692183b
removing the 'remote' parameter from Scope::find -- it wasn't used anymore
2010-02-17 23:26:03 -05:00
Jeremy Ashkenas
dec9950649
Revert "namespacing CoffeeScript in the browser, and sniffing the 'require' function instead of the 'exports' object"
...
This reverts commit 2f6b69b580
.
2010-02-17 23:22:05 -05:00
Jeremy Ashkenas
2f6b69b580
namespacing CoffeeScript in the browser, and sniffing the 'require' function instead of the 'exports' object
2010-02-17 23:15:37 -05:00
Jeremy Ashkenas
2b5d596e10
allowing parenthetical nodes to wrap statements without necessarily expression-izing them -- tests are passing ... we'll see how this works in practice.
2010-02-17 19:19:51 -05:00
Jeremy Ashkenas
2d0ad73af8
reorganizing lib/coffee_script to plain ol' lib
2010-02-17 00:55:56 -05:00