Jeremy Ashkenas
ee4e34bf6d
relative requires...
2010-05-01 11:00:43 -04:00
gfxmonk
c8e0f8b149
Cleaned up IfNodes
...
- renamed rewrite_condition() to switches_over(),
and @switcher to @switch_subject
- removed unused else_body constructor parameter, as well
as unnecessary push() method
- ensure both @body and @else_body are always Expressions
(previously they could be either Expressions or IfNode)
2010-05-02 00:39:34 +10:00
gfxmonk
b47188763c
add require statements to tests that depend on coffee-script modules
2010-05-02 00:27:50 +10:00
Jeremy Ashkenas
5e5c9df5c4
removing holmsand's cleanup
2010-05-01 08:40:02 -04:00
Jeremy Ashkenas
1a97f599dd
added a test for the multiple-functions-passed-sans-parens
2010-04-30 23:20:22 -04:00
Tim Jones
3b264c9572
Added a small part to the rewriter to allow a better two-function call.
2010-05-01 14:04:57 +12:00
Dan Holmsand
144c096ae6
Remove unused variable index_var from for loops
2010-04-30 09:48:30 +02:00
Jeremy Ashkenas
adbcd320b2
adding until loops as the inverse of while loops
2010-04-28 22:08:00 -04:00
Jeremy Ashkenas
17ba44056e
changing 'filter' to 'guard' to get around Express' clobbering of Object.prototype.
2010-04-28 21:46:47 -04:00
Jeremy Ashkenas
502abade7c
rewriting the compiler using 'unless' blocks where appropriate.
2010-04-27 19:38:24 -04:00
Jeremy Ashkenas
b746c9018e
adding 'unless' blocks
2010-04-27 19:35:15 -04:00
Jeremy Ashkenas
92af641827
no newline on no_such_task for Cake
2010-04-27 07:59:19 -04:00
Jeremy Ashkenas
b5606a247d
adding pattern matching for comprehensions.
2010-04-26 23:46:35 -04:00
Jeremy Ashkenas
d62baf5a5d
Merge branch 'for_destructuring' of git://github.com/StanAngeloff/coffee-script
2010-04-26 23:34:07 -04:00
Jeremy Ashkenas
e17567866a
Merge branch 'master' of git://github.com/Tesco/coffee-script
2010-04-26 23:31:18 -04:00
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
gfxmonk
175ebb3cd8
fail with appropriate error status if child process fails
2010-04-26 16:08:19 +10:00
Tim Jones
95367a4a63
Fixing silly mistake with the comments.
2010-04-26 16:00:12 +12:00
Tim Jones
8950c3c4c8
Fixing invalid pattern matching and object creation.
2010-04-26 15:54:47 +12: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
212ad45be4
merging gfxmonk's removed error event fix.
2010-04-24 22:13:13 -04:00
gfxmonk
e9b37c7578
replaced nonexistant error event callback with a combination of stderr and exit events
2010-04-25 11:24:06 +10: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
bc0ec9dc07
Revert "removing yytext mentions from the grammar"
...
This reverts commit 5957b9f155 .
2010-04-21 23:10:45 -04:00
Jeremy Ashkenas
5957b9f155
removing yytext mentions from the grammar
2010-04-21 23:01:14 -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
bf2a5386f9
requiring helpers module in test_bind.coffee
2010-04-21 19:52:58 -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
90472685e8
Merge branch 'master' of git://github.com/gfodor/coffee-script
2010-04-19 23:12:24 -04:00
Jeremy Ashkenas
7bb764b3e4
ignoring raw
2010-04-18 18:14:17 -04:00
Greg Fodor
1aed9c545f
Fix for bug with chaining
2010-04-18 00:41:47 -04:00
Jeremy Ashkenas
c937e49689
adding 'coffeescript-idea' to the resources section.
2010-04-13 23:41:18 -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
0.6.1
2010-04-12 21:20:00 -04:00
Jeremy Ashkenas
ea982a627e
adding coffee-haml-filter to the docs
2010-04-11 17:57:29 -04:00
Jeremy Ashkenas
835ecac8db
simplifying some unecessary interpolated expressions into interpolated values.
2010-04-11 16:57:53 -04:00
Jeremy Ashkenas
c3bbb48041
adding a test case for issue 309, interpolations with implicit calls.
2010-04-11 09:37:48 -04:00
Jeremy Ashkenas
2e842f0146
merging Stan's recursive tokenizing fix for interpolations.
2010-04-11 09:26:21 -04:00
Jeremy Ashkenas
8de2fb9009
Merge commit 'StanAngeloff/issue_309'
2010-04-11 09:22:31 -04:00