Jeremy Ashkenas
|
b297510d2b
|
big refactor -- pulled all helper functions into helpers.coffee to facilitate sharing.
|
2010-03-09 21:24:30 -05:00 |
|
Jeremy Ashkenas
|
4932d25540
|
making balanced_string accept an array of delimiters, in hope of using it in the Rewriter
|
2010-03-09 20:53:56 -05:00 |
|
Jeremy Ashkenas
|
1b4edd0e37
|
scrubbing all carriage returns from CoffeeScript source before compiling for the benefit of Windows users.
|
2010-03-08 23:07:26 -05:00 |
|
Jeremy Ashkenas
|
dcb00b4fe8
|
minor refactors to balanced_string
|
2010-03-08 22:48:14 -05:00 |
|
Jeremy Ashkenas
|
b33b688373
|
fixing more bugs in balance/interpolate/regexp/string/etc
|
2010-03-08 22:25:06 -05:00 |
|
Jeremy Ashkenas
|
4b97b15c0c
|
more refactors to interpolation
|
2010-03-08 21:55:06 -05:00 |
|
Jeremy Ashkenas
|
b5af5f66fb
|
more regexp and string interpolation tweaks
|
2010-03-08 21:34:10 -05:00 |
|
Jeremy Ashkenas
|
3396dce2bb
|
waypoint -- going to try to clean up regex_token
|
2010-03-08 20:57:28 -05:00 |
|
Jeremy Ashkenas
|
3291bd2a4a
|
removing the 'supress' option from the lexer, just look at the slash.
|
2010-03-08 20:07:19 -05:00 |
|
Jeremy Ashkenas
|
121f01c06f
|
merged stan's interpolation_3, a couple of tweaks
|
2010-03-08 19:43:12 -05:00 |
|
Stan Angeloff
|
81af8f296e
|
Regular expression interpolations; fixed bug in string interpolations when all tokens were identifiers.
|
2010-03-08 20:06:51 +02:00 |
|
Jeremy Ashkenas
|
bcf7b3f95b
|
CoffeeScript 0.5.5, with string interpolation and internal documentation
|
2010-03-08 06:34:07 -05:00 |
|
Jeremy Ashkenas
|
b0aec3cbe2
|
Finishing off the docs for nodes.coffee -- almost ready to roll.
|
2010-03-08 05:42:57 -05:00 |
|
Jeremy Ashkenas
|
5f5e0634dd
|
making ThrowNode not a pure_statement -- it can jump out of the closure just fine
|
2010-03-08 05:19:48 -05:00 |
|
Jeremy Ashkenas
|
299e9918b9
|
Fixing up command-line args for --stdio and --eval. Now makes more sense with --run by default.
|
2010-03-08 04:46:24 -05:00 |
|
Jeremy Ashkenas
|
9eceab667c
|
broke the flag for --no-wrap, fixed.
|
2010-03-08 04:28:26 -05:00 |
|
Stan Angeloff
|
026e7649d5
|
Empty expression interpolations evaluate as empty strings now.
|
2010-03-08 04:13:59 -05:00 |
|
Jeremy Ashkenas
|
71ace9d8d0
|
allowing naked interpolation of dotted properties. .property
|
2010-03-07 22:26:25 -05:00 |
|
Jeremy Ashkenas
|
1cf0326183
|
unifying the CoffeeScript.compile and CoffeeScript.run apis to be the same -- source code and options hash.
|
2010-03-07 22:17:45 -05:00 |
|
Jeremy Ashkenas
|
5b9ebd19d5
|
adding source file information to all coffeescript compiles
|
2010-03-07 22:08:24 -05:00 |
|
Jeremy Ashkenas
|
06b50ecb98
|
unifying all of the server-side evaluation under CoffeeScript.run -- this means that __filename and __dirname and relative requires should work from all angles under Node.js
|
2010-03-07 21:49:08 -05:00 |
|
Jeremy Ashkenas
|
0bc7719572
|
merging in Zaach's Jison updates
|
2010-03-07 19:11:03 -05:00 |
|
Zachary Carter
|
612c238157
|
Rebuild parser, now with skinnier parse table.
|
2010-03-07 18:53:23 -05:00 |
|
Jeremy Ashkenas
|
c6d7a27848
|
waypoint on the documentation -- almost halfway through the nodes
|
2010-03-07 17:31:39 -05:00 |
|
Jeremy Ashkenas
|
094b198d5d
|
first little bit of commenting the nodes.coffee -- with some slight refactors
|
2010-03-07 16:41:06 -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
|
a4f7a5e248
|
documenting and cleaning up the Rewriter
|
2010-03-07 14:41:52 -05:00 |
|
Jeremy Ashkenas
|
d46daa1d7c
|
documenting optparse.coffee and repl.coffee
|
2010-03-07 13:41:15 -05:00 |
|
Jeremy Ashkenas
|
4906cf1aff
|
cleaned and commented the lexer (again) interpolate_string() continues to shrink
|
2010-03-07 12:47:03 -05:00 |
|
Stan Angeloff
|
f74fae58e3
|
Rewritting lexer.coffee to accept nested string interpolations.
|
2010-03-07 11:42:52 -05:00 |
|
Jeremy Ashkenas
|
1602e0e823
|
adding complete documentation for the grammar
|
2010-03-07 11:41:56 -05:00 |
|
Jeremy Ashkenas
|
202ebf06ff
|
documentation for command.coffee
|
2010-03-07 00:28:58 -05:00 |
|
Jeremy Ashkenas
|
3e3b71724d
|
making equality left-associative so that our chaining works properly with it.
|
2010-03-06 23:48:06 -05:00 |
|
Jeremy Ashkenas
|
893fb98522
|
moving command_line.coffee -> command.coffee
|
2010-03-06 22:18:15 -05:00 |
|
Jeremy Ashkenas
|
e267226438
|
commenting coffee-script.coffee for documentation
|
2010-03-06 20:30:40 -05:00 |
|
Jeremy Ashkenas
|
62626b712b
|
Commenting cake.coffee for Docco docs.
|
2010-03-06 20:18:50 -05:00 |
|
Jeremy Ashkenas
|
7bdf14b210
|
Override process.argv as well as process.ARGV for eval'd scripts
|
2010-03-06 20:09:08 -05:00 |
|
Jeremy Ashkenas
|
2e23e6a2dc
|
removing narwhal.coffee and narwhal.js, because I don't think that anyone was using them.
|
2010-03-06 19:05:21 -05:00 |
|
Jeremy Ashkenas
|
9b262d56a5
|
allowing relative requires of JavaScript from directly-eval'd CoffeeScript.
|
2010-03-06 17:40:13 -05:00 |
|
Jeremy Ashkenas
|
453b43992d
|
fixing line numbers in errors printed prior to parsing
|
2010-03-06 16:42:40 -05:00 |
|
Jeremy Ashkenas
|
a5e3617015
|
Adding a starts() helper to avoid substring() calls for simple matches.
|
2010-03-06 16:24:06 -05:00 |
|
Jeremy Ashkenas
|
c4ad6d1ee6
|
minor cleanups to balanced_group -> balanced_token, removing optional escaper (unused), and using it to implement interpolated javascript.
|
2010-03-06 16:06:47 -05:00 |
|
Stan Angeloff
|
f9cde1b46d
|
Improving performance by removing call to bound function for every character in a string. Added a third option to \delimited\ to allow custom escape sequences.
|
2010-03-06 15:53:37 -05:00 |
|
Stan Angeloff
|
83fd84745d
|
Rewriting string tokenizer; allowing nested double-quoted strings inside expression interpolations.
|
2010-03-06 15:21:30 -05:00 |
|
Jeremy Ashkenas
|
e977967eb5
|
implementing the CoffeeScript compiler using interpolation where appropriate.
|
2010-03-06 13:59:11 -05:00 |
|
Jeremy Ashkenas
|
15b00cb3ca
|
implementing string interpolation using string interpolation
|
2010-03-06 13:32:43 -05:00 |
|
Jeremy Ashkenas
|
18e5f72a84
|
done converting nodes.coffee code generation to use string interpolation where appropriate
|
2010-03-06 00:23:54 -05:00 |
|
Jeremy Ashkenas
|
b4ea43cbd0
|
waypoint -- starting to implement nodes.coffee with interpolations, and fixing/shortening/combining the lexer implementation to allow identifier interpolations to be interleaved with expression interps
|
2010-03-05 22:52:28 -05:00 |
|
Jeremy Ashkenas
|
08341286a3
|
adding back parentheses wrapper around interpolated expressions -- we need it
|
2010-03-05 21:12:13 -05:00 |
|
Jeremy Ashkenas
|
4c3b0b9a74
|
allowing @properties to be referenced in naked interpolations
|
2010-03-05 21:05:31 -05:00 |
|