Stan Angeloff
|
76f9596f22
|
Cleaning up.
|
2010-04-26 21:54:31 +03:00 |
|
Stan Angeloff
|
2a3a713811
|
Allowing pattern matching within for..loops
|
2010-04-26 21:35:35 +03:00 |
|
Jeremy Ashkenas
|
2d1abd099d
|
rewriting the Lexer, CommandLine, Nodes, and Rewriter to take advantage of the new DRY object pattern matching.
|
2010-04-25 22:29:43 -04:00 |
|
Jeremy Ashkenas
|
a894db35fd
|
Got the DRY object pattern matching style working properly, from Harmony. {name, age}: person now works correctly.
|
2010-04-25 22:21:53 -04:00 |
|
Jeremy Ashkenas
|
328a14014c
|
eliminating the IndentedAssignList nonterminal.
|
2010-04-25 21:22:29 -04:00 |
|
Jeremy Ashkenas
|
315a2c63fa
|
simplifying the grammar by replacing all of our trailing comma rules with an OptComma nonterminal.
|
2010-04-25 21:17:46 -04:00 |
|
Jeremy Ashkenas
|
ca4ea7649d
|
Throwing an error when pattern matching has a non-identifier on the left-hand side.
|
2010-04-25 11:22:15 -04:00 |
|
Jeremy Ashkenas
|
08c877ec7b
|
Fixing string keys in pattern matching on objects (ticket 325)
|
2010-04-25 11:07:09 -04:00 |
|
Jeremy Ashkenas
|
1438cecfad
|
Fixing splats-with-super()-in-classes, an oversight.
|
2010-04-24 15:57:15 -04:00 |
|
Jeremy Ashkenas
|
49824ce1a6
|
removing yytext mentions for real this time.
|
2010-04-21 23:21:48 -04:00 |
|
Jeremy Ashkenas
|
72e6e828f1
|
new version of Jison vendored ... rebuild the grammar, tests pass.
|
2010-04-21 22:52:20 -04:00 |
|
Jeremy Ashkenas
|
01b4393fa7
|
fixing Issue #328, parse error with indents and comments (StanAngeloff)
|
2010-04-21 22:26:45 -04:00 |
|
Jeremy Ashkenas
|
fb4d4a609b
|
making bin/cake install add CoffeeScript as a Node.js library, and creating an index.js file for the top-level inclusion.
|
2010-04-20 20:20:38 -04:00 |
|
Jeremy Ashkenas
|
1cddb2aa88
|
Redoing Rewriter#add_implicit_parentheses to be more robust.
|
2010-04-20 01:32:12 -04:00 |
|
Jeremy Ashkenas
|
aac9679282
|
merging in gfodor's excellent Rewriter patch.
|
2010-04-19 23:18:39 -04:00 |
|
Jeremy Ashkenas
|
0d860516ac
|
fixing non-spaced function application.
|
2010-04-13 09:05:55 -04:00 |
|
Jeremy Ashkenas
|
4ced1d65b4
|
allowing 'debugger' ... it should never have been a reserved word.
|
2010-04-12 21:23:01 -04:00 |
|
Jeremy Ashkenas
|
92540d5e85
|
CoffeeScript 0.6.1, for Node.js v0.1.90
|
2010-04-12 21:20:00 -04:00 |
|
Jeremy Ashkenas
|
835ecac8db
|
simplifying some unecessary interpolated expressions into interpolated values.
|
2010-04-11 16:57:53 -04:00 |
|
Jeremy Ashkenas
|
2e842f0146
|
merging Stan's recursive tokenizing fix for interpolations.
|
2010-04-11 09:26:21 -04:00 |
|
Stan Angeloff
|
17e177405a
|
FIXES #309: Optional parens and interpolation.
|
2010-04-11 12:22:54 +03:00 |
|
Jeremy Ashkenas
|
df97effb9c
|
fixing implicit-call-in-function-in-parens bug.
|
2010-04-10 18:56:46 -04:00 |
|
Jeremy Ashkenas
|
8317960f81
|
Battery of patches for compatibility with Node v0.1.90
|
2010-04-10 18:05:35 -04:00 |
|
Jeremy Ashkenas
|
065bf54094
|
generated closures should only call() or apply() when necessary.
|
2010-04-10 14:40:05 -04:00 |
|
Jeremy Ashkenas
|
f36acc27e5
|
safely preserving the arguments object through generated closure wrappers.
|
2010-04-10 14:20:32 -04:00 |
|
Jeremy Ashkenas
|
75b260e495
|
Merge branch 'master' of git://github.com/noonat/coffee-script
|
2010-04-06 21:08:29 -04:00 |
|
noonat
|
2351948291
|
Renamed Lexer.tag() argument to new_tag, due to Rhino scope confusion
|
2010-04-05 22:58:56 -07:00 |
|
Tim Jones
|
de955dacc4
|
Added Statement to the grammar.
|
2010-04-06 02:26:23 +12:00 |
|
Chris Lloyd
|
19ed63129e
|
Interpolated strings are expressions.
|
2010-04-04 17:05:52 +10:00 |
|
Jeremy Ashkenas
|
89534b88b1
|
merging in Chris Lloyd's fix for optional descriptions on Cake tasks.
|
2010-04-04 00:20:17 -04:00 |
|
Jeremy Ashkenas
|
c067808b54
|
CoffeeScript 0.6.0 is on the books.
|
2010-04-03 20:43:50 -04:00 |
|
Jeremy Ashkenas
|
ad1c5e1884
|
merging non-func-constructor-fix, but a little more forgiving.
|
2010-04-03 14:53:26 -04:00 |
|
Stan Angeloff
|
9958cedd89
|
Throwing proper error when "constructor" is not a function within a class body.
|
2010-04-03 21:43:42 +03:00 |
|
Jeremy Ashkenas
|
d1aaed4430
|
Merge branch 'master' of git://github.com/Tesco/coffee-script
|
2010-04-03 12:21:31 -04:00 |
|
Tim Jones
|
89debc87b2
|
Removing {@prop: value} from the grammar.
|
2010-04-04 04:18:29 +12:00 |
|
Jeremy Ashkenas
|
44765907b3
|
tiny tweak
|
2010-04-03 11:16:49 -04:00 |
|
Jeremy Ashkenas
|
f99b5ad463
|
Merging Tesco's invoking-this-fix
|
2010-04-03 09:58:45 -04:00 |
|
Tim Jones
|
8fc631269b
|
Added a rule to prevent invoking THIS.
|
2010-04-03 14:14:16 +13:00 |
|
Tim Jones
|
a1975583a7
|
Added THIS to CALLABLE.
|
2010-04-03 13:58:21 +13:00 |
|
Jeremy Ashkenas
|
1c628e7883
|
fixing parens-around-implicit-function-with-multiline-chained-chaser bug
|
2010-04-01 23:38:20 -04:00 |
|
Jeremy Ashkenas
|
3605168e85
|
fixing single evaluation of functions used in chained comparisons wrapped in parentheses.
|
2010-03-31 22:48:47 -04:00 |
|
Jeremy Ashkenas
|
f86fca2739
|
merged tanob's fix for installing outside of /usr/local without a /bin
|
2010-03-31 21:30:14 -04:00 |
|
Jeremy Ashkenas
|
aae2405de4
|
removing all of the 'type' tags from the Nodes. Simply using constructor.name instead.
|
2010-03-31 00:04:14 -04:00 |
|
Jeremy Ashkenas
|
f9b028b78c
|
__extend back to __extends, as is the correct name.
|
2010-03-30 20:15:51 -04:00 |
|
Jeremy Ashkenas
|
572aa4e98f
|
reverting the grammar to the pre-slice notation.
|
2010-03-30 20:11:40 -04:00 |
|
Jeremy Ashkenas
|
864275f07e
|
removing __range, and all the slice behavior it enabled. If you can't do array[-1], then you shouldn't be able to do array[0..-1] -- it's just too inconsistent.
|
2010-03-30 20:06:44 -04:00 |
|
Jeremy Ashkenas
|
998a7c8cb0
|
more cleanups, added a utility helper function to the codegen
|
2010-03-30 19:48:37 -04:00 |
|
Jeremy Ashkenas
|
6d7a04228f
|
another reshuffle ... removed utilities.coffee entirely.
|
2010-03-30 19:42:09 -04:00 |
|
Jeremy Ashkenas
|
4a8c2e8a13
|
more refactors to utilities ... removing dependencies and the namespacing
|
2010-03-30 19:27:38 -04:00 |
|
Jeremy Ashkenas
|
f3a60edc5d
|
simplifying the lookup of the top-level scope object
|
2010-03-30 19:21:14 -04:00 |
|