Jeremy Ashkenas
|
577daf5457
|
fixing herecomment/indentation bugaboo ... issue #474
|
2010-07-06 22:20:42 -04:00 |
|
Jeremy Ashkenas
|
e81810d845
|
fixing issue #427 -- incorrect stringification of reserved word
|
2010-07-04 20:55:21 -04:00 |
|
Jeremy Ashkenas
|
c57ebffe6f
|
fixing Lexer::OPERATOR regex for non-spaced + unary arithmetic. Issue #471
|
2010-07-04 13:29:22 -04:00 |
|
Jeremy Ashkenas
|
e281133f12
|
fixing empty catch clauses ... Issue #470
|
2010-07-04 12:50:04 -04:00 |
|
Jeremy Ashkenas
|
92878558c6
|
fixing improper formatting in range-to-array expansion.
|
2010-07-03 17:00:30 -04:00 |
|
Jeremy Ashkenas
|
ec449158c6
|
fixing improperly-formatted-output of pattern matching within comprehension arguments.
|
2010-07-03 15:09:21 -04:00 |
|
Jeremy Ashkenas
|
77a75ed365
|
adding passed-through block comments back to the grammar/lexer/rewriter/nodes ... thanks, Trevor Burnham.
|
2010-07-01 21:26:33 -04:00 |
|
Jeremy Ashkenas
|
364ec2a694
|
better syntax errors for tokens-not-in-the-grammar. Coming soon to a Jison near you (hopefully)
|
2010-07-01 20:40:08 -04:00 |
|
Jeremy Ashkenas
|
9a8a707016
|
throw a syntax error if you try to use the fat arrow to define a class constructor.
|
2010-06-30 22:03:20 -04:00 |
|
Jeremy Ashkenas
|
7a5f014014
|
fixing closurenode wrapping of bodies with bound function declarations inside -- this doesn't have to be mentioned explicitly.
|
2010-06-30 21:54:16 -04:00 |
|
Jeremy Ashkenas
|
5ca5a504a4
|
allowing empty bodies in try blocks and in catch blocks
|
2010-06-30 20:53:09 -04:00 |
|
Jeremy Ashkenas
|
7d79d73b58
|
allowing paren-less instance creation, a la 'new Class'
|
2010-06-29 21:03:50 -04:00 |
|
Jeremy Ashkenas
|
7c426db36a
|
fixing range literals (which had gone untested) oops.
|
2010-06-28 20:26:31 -04:00 |
|
Jeremy Ashkenas
|
e56af4967c
|
removing our vendor'd copy of Jison ... you should install it from NPM now.
|
2010-06-28 00:26:45 -04:00 |
|
Jeremy Ashkenas
|
1f7af35368
|
getting ready for a 0.7.0. cleanups and doc revisions, not quite there yet.
|
2010-06-28 00:19:58 -04:00 |
|
Jeremy Ashkenas
|
08ab4abd43
|
removing obvious redundant parentheses.
|
2010-06-27 23:55:18 -04:00 |
|
Jeremy Ashkenas
|
a810eb29db
|
slightly simpler comment regex.
|
2010-06-27 22:26:59 -04:00 |
|
Jeremy Ashkenas
|
3881324007
|
cleaning up the grammar rule for Super
|
2010-06-27 16:50:31 -04:00 |
|
Jeremy Ashkenas
|
af3b356d70
|
fixing an improper-js-output bug when using a loop-compiled inarray clause as part of a larger expression
|
2010-06-27 13:27:51 -04:00 |
|
Jeremy Ashkenas
|
24676eea71
|
Fixing commented-out if-clauses or empty if-clauses.
|
2010-06-27 13:19:23 -04:00 |
|
Jeremy Ashkenas
|
ec570c46bf
|
Big commit. First draft of stripping comments from generated JS output. Issue #41
|
2010-06-27 12:59:54 -04:00 |
|
Jeremy Ashkenas
|
8eedfe4bc6
|
slight simplification of the if-else grammar rules
|
2010-06-27 11:46:30 -04:00 |
|
Jeremy Ashkenas
|
800fb81d1b
|
Re-ordering lexer rules for fewer regex matches / slightly faster lexing.
|
2010-06-27 10:58:08 -04:00 |
|
Jeremy Ashkenas
|
698784e103
|
fixing issue #454 single-line function with single-line if/else
|
2010-06-26 17:20:13 -04:00 |
|
Jeremy Ashkenas
|
f7345ffaac
|
removing extensions from CoffeeScript
|
2010-06-26 13:36:31 -04:00 |
|
Jeremy Ashkenas
|
b7faa4a7f2
|
using the new in-tests for the Rewriter.
|
2010-06-21 23:54:43 -04:00 |
|
Jeremy Ashkenas
|
0fcfb80be4
|
switching 'a in b' to 'a of b', and adding an array presence check for 'a in b'.
|
2010-06-21 23:51:12 -04:00 |
|
Jeremy Ashkenas
|
38a9b7166b
|
Adding TrevorBurnham's suggestion for 'a not in b'
|
2010-06-21 22:25:28 -04:00 |
|
Dan Holmsand
|
6bc7b56e6e
|
Make sure variables named e.g. "constructor" are declared with var
|
2010-06-16 12:54:53 +02:00 |
|
Jeremy Ashkenas
|
06ca2ef726
|
more streamlined code generation for instance-bound methods ... keep the prototype method around, and just bind it in the constructor.
|
2010-06-15 02:21:01 -04:00 |
|
Jeremy Ashkenas
|
8d853a6d58
|
adding the ability to have classes with functions pre-bound to the instance, using the fat arrow, and the constructor-function-definition pattern, avoiding prototypes.
|
2010-06-15 01:28:30 -04:00 |
|
Jeremy Ashkenas
|
de768aefc3
|
a bit more work on keywords-in-object-literals...
|
2010-06-15 01:03:14 -04:00 |
|
Jeremy Ashkenas
|
4b284f6687
|
first draft at ticket #437 ... automatic quoting of reserved words and keywords.
|
2010-06-15 00:54:02 -04:00 |
|
Jeremy Ashkenas
|
d0948e5586
|
fixing comprehensions to also close over the index variable, if used in an inner function...
|
2010-06-13 21:43:04 -04:00 |
|
Jeremy Ashkenas
|
b0a45e5b93
|
Ticket #423. When functions are generated within comprehensions ... the comprehensions should close over the element instead of sharing it.
|
2010-06-13 21:21:30 -04:00 |
|
Jeremy Ashkenas
|
6f91331626
|
slight refactor to IfNode::ensureExpressions
|
2010-06-13 18:04:09 -04:00 |
|
Jeremy Ashkenas
|
4ecb1bb2ed
|
switching to 'Compiled' messages after the code has finished compiling on --watch ...
|
2010-06-13 14:21:02 -04:00 |
|
Jeremy Ashkenas
|
5612a59b30
|
allowing implicit returns to be pushed down into each branch of computation, even when there's an explicit return nested more deeply. Issue #401
|
2010-06-13 01:13:52 -04:00 |
|
Jeremy Ashkenas
|
88ea66b4c9
|
allowing a regex literal to be the last token in a file ... Lexer bug.
|
2010-06-13 00:56:42 -04:00 |
|
Jeremy Ashkenas
|
b61399fbde
|
fixing issue #396 ... issue with nested if/elses getting mis-nested.
|
2010-06-12 19:38:14 -04:00 |
|
Jeremy Ashkenas
|
e14f4c5db1
|
First draft of switching the CoffeeScript Compiler over to camelCase. Pour one on the ground for underscores...
|
2010-06-12 19:05:13 -04:00 |
|
Jeremy Ashkenas
|
4b4b0e630e
|
yet another rewriter-based comment fix, this time for issue #403
|
2010-06-12 18:06:33 -04:00 |
|
Jeremy Ashkenas
|
d9071a80a0
|
Unsatisfactory patch that fixes Issue #394 ... comments that prefix spaced out if/else clauses.
|
2010-06-12 17:41:46 -04:00 |
|
Jeremy Ashkenas
|
969740a263
|
slight simplification to if/else in the grammar.
|
2010-06-12 13:53:11 -04:00 |
|
Jeremy Ashkenas
|
0222d90fa3
|
adding a 'loop' keyword to CoffeeScript. Takes an expression or a block. Runs it until you break or return out.
|
2010-06-12 12:15:53 -04:00 |
|
Jeremy Ashkenas
|
a133e018cc
|
Making the REPL the default behaviour of 'coffee', when called with no arguments, a-la Node and Python.
|
2010-06-12 11:09:30 -04:00 |
|
Jeremy Ashkenas
|
c2d1ae06c5
|
removing the <- bind operator from CoffeeScript...
|
2010-06-12 11:00:56 -04:00 |
|
Jeremy Ashkenas
|
a8e331a778
|
new improved REPL, using Node's new 'readline' module...
|
2010-06-11 18:36:18 -04:00 |
|
Jeremy Ashkenas
|
0a4fe7ed97
|
fixing the lexer so that leading commas surpress newlines
|
2010-06-11 08:29:16 -04:00 |
|
Jeremy Ashkenas
|
676e893c14
|
reworking parser for more permissive non-comma-separated array elements.
|
2010-06-09 00:37:23 -04:00 |
|