Jeremy Ashkenas
|
a2778bf06d
|
resolving issues with comments in the middle of unfinished single-line expressions.
|
2010-03-20 00:58:25 -04:00 |
|
Jeremy Ashkenas
|
4ebaa82563
|
removing the CoffeeScript.run named function from eval'd script scope by making it anonymous
|
2010-03-19 23:15:42 -04:00 |
|
Jeremy Ashkenas
|
92688c89ef
|
merging in matehat's nice refactor to splats (in arrays and otherwise)
|
2010-03-19 22:41:23 -04:00 |
|
matehat
|
fe04f8ce6b
|
Added function call's flexibility with splats to array literals, factoring out splat compiling, and adjusted tests
|
2010-03-18 09:31:40 -04:00 |
|
Jeremy Ashkenas
|
b72641693d
|
fixing doubled semis
|
2010-03-18 08:45:26 -04:00 |
|
Jeremy Ashkenas
|
0c6ee52cfc
|
merging in matehat's curry branch. cleaning some loose ends up. adding some tests.
|
2010-03-18 00:42:26 -04:00 |
|
matehat
|
1f87094628
|
Slightly altered syntax, similar to Underscore's Function#bind form, highly simplified lexing and parsing and no polluted scope. Passing tests included.
|
2010-03-18 00:19:32 -04:00 |
|
matehat
|
3b22018296
|
Applied the new splat flexibility to function currying operator
|
2010-03-18 00:08:34 -04:00 |
|
matehat
|
5be437deb9
|
Added some inline docs
|
2010-03-18 00:08:34 -04:00 |
|
matehat
|
8d098194dd
|
Added the '<-' currying operator, as heavily discussed in #251, along with tests.
|
2010-03-18 00:08:34 -04:00 |
|
matehat
|
256525bfa2
|
Fixed a small bug about flexible splats that occured when the leading array was a literal
|
2010-03-18 00:08:05 -04:00 |
|
Jeremy Ashkenas
|
79e4f30f69
|
fixing a bug where the Lexer assumed that values would always be strings.
|
2010-03-17 22:16:18 -04:00 |
|
Jeremy Ashkenas
|
884637468e
|
fixing off-by-one error in compile_splat_arguments
|
2010-03-17 22:07:11 -04:00 |
|
Jeremy Ashkenas
|
6fd7810d89
|
can't use indexing[] into strings cross-browser, use substr() instead.
|
2010-03-17 21:41:00 -04:00 |
|
Jeremy Ashkenas
|
2f97d0d9b1
|
merging matehat's flexible splats (at any position within argument lists)
|
2010-03-17 21:15:54 -04:00 |
|
Jeremy Ashkenas
|
1bb9c57767
|
Merge branch 'splats' of git://github.com/matehat/coffee-script
|
2010-03-17 21:07:31 -04:00 |
|
Jeremy Ashkenas
|
d880b8b8f2
|
adding interpolation to heredocs, using the same rules as for strings
|
2010-03-17 20:47:27 -04:00 |
|
matehat
|
7129f518a4
|
Added the ability for function declaration to have a splat at an arbitrary position, not just at the end. Still restrict their number to 1. Adjusted tests accordingly.
|
2010-03-17 15:00:19 -04:00 |
|
matehat
|
fa6f1c2fb1
|
Fixed a tiny slicing bug
|
2010-03-17 15:00:19 -04:00 |
|
matehat
|
2bd1c3acca
|
Added the ability to put as many splats in a function call as one wants. Also optimized the assembly into static arrays. Adjusted tests accordingly.
|
2010-03-17 15:00:19 -04:00 |
|
Jeremy Ashkenas
|
70cfc9500e
|
pushing docs to the site
|
2010-03-16 23:18:54 -04:00 |
|
Jeremy Ashkenas
|
61b011cc28
|
fixing trailing whitespace on the final line
|
2010-03-16 19:57:39 -04:00 |
|
Jeremy Ashkenas
|
391135b1a5
|
fixing the relative path to 'grammar'
|
2010-03-16 19:36:08 -04:00 |
|
matehat
|
33f51d76f4
|
Added the possibility to end an identifier with '::', refering directly to its prototype.
|
2010-03-16 17:39:36 -04:00 |
|
Jeremy Ashkenas
|
61dee1beba
|
tweakin'
|
2010-03-15 23:10:14 -07:00 |
|
Jeremy Ashkenas
|
0b3054a348
|
merging in matehat's registerExtension patch for direct-requires of CoffeeScript.
|
2010-03-15 23:03:30 -07:00 |
|
Jeremy Ashkenas
|
02f4cb75dd
|
removing deprecated references to process.mixin in favor of helpers.extend for Node 0.1.32
|
2010-03-15 22:53:25 -07:00 |
|
Jeremy Ashkenas
|
3aeb8c6bdb
|
moving the contains-a-pure-statement-means-no-closure logic into ClosureNode.wrap itself.
|
2010-03-15 22:27:31 -07:00 |
|
Jeremy Ashkenas
|
745c635a55
|
fixing issue with break statements and for loops and closures and the value of 'this'
|
2010-03-15 22:20:29 -07:00 |
|
Jeremy Ashkenas
|
c7dd31846d
|
merging in gfxmonk's fix for reporting line numbers for unclosed { [ ( opening symbols
|
2010-03-15 22:09:16 -07:00 |
|
gfxmonk
|
e87fa4293d
|
report line number of opening token if a pair (eg bracket) is left open
|
2010-03-15 22:07:40 -07:00 |
|
gfxmonk
|
b269884f8d
|
fixed non-recursive traverse() for CodeNode
|
2010-03-15 22:03:54 -07:00 |
|
Jeremy Ashkenas
|
73074daa07
|
removing arguments-to-array-conversion from coffee
|
2010-03-15 20:46:14 -07:00 |
|
Jeremy Ashkenas
|
119b80d449
|
removing fiddling with require.paths from CoffeeScript
|
2010-03-15 20:39:46 -07:00 |
|
Jeremy Ashkenas
|
60b3103314
|
using granular helper imports, for nicer within.
|
2010-03-14 14:58:32 -07:00 |
|
Jeremy Ashkenas
|
75ffb9dc84
|
stop mixing in helpers (t(ticket #250) -- with a test
|
2010-03-14 14:48:43 -07:00 |
|
Jeremy Ashkenas
|
b306d40bf1
|
we don't need relative requires for the language
|
2010-03-14 13:48:58 -07:00 |
|
gfxmonk
|
5809a1637f
|
fixed non-recursive traverse() for CodeNode
|
2010-03-14 00:05:51 +11:00 |
|
gfxmonk
|
e47bea34d5
|
report line number of opening token if a pair (eg bracket) is left open
|
2010-03-14 00:03:17 +11:00 |
|
matehat
|
709f17c278
|
Added an extension on node's 'require' module so it can import .coffee module and added some tests to make sure it works.
|
2010-03-12 14:22:01 -05:00 |
|
Jeremy Ashkenas
|
3c597dde72
|
no need to save the lookups
|
2010-03-10 22:32:00 -05:00 |
|
Jeremy Ashkenas
|
0379431812
|
tweaks
|
2010-03-10 21:53:33 -05:00 |
|
Jeremy Ashkenas
|
3f9fd85afb
|
removing the unused CallNode#push
|
2010-03-10 20:53:31 -05:00 |
|
Jeremy Ashkenas
|
7b0a235c71
|
removing the nearly-unused notion of 'operation sensitive'
|
2010-03-10 20:19:32 -05:00 |
|
Jeremy Ashkenas
|
55cac23976
|
fixing indentation for prefix while nodes
|
2010-03-10 20:15:12 -05:00 |
|
Jeremy Ashkenas
|
f2d0aee656
|
added Stan's fix for try/finally without catch
|
2010-03-10 16:27:30 -05:00 |
|
Jeremy Ashkenas
|
2a47727641
|
allowing terminator/comment as a block, so that you can have comment-only blocks
|
2010-03-10 16:18:17 -05:00 |
|
Jeremy Ashkenas
|
ccb7f63b8a
|
fixing exports for the browser
|
2010-03-10 09:47:02 -05:00 |
|
Jeremy Ashkenas
|
1f9bb6a1c4
|
fixing broken multi-line optional-paren blocks
|
2010-03-10 09:28:00 -05:00 |
|
Jeremy Ashkenas
|
54627f6807
|
CoffeeScript language extensions are now working.
|
2010-03-09 23:44:29 -05:00 |
|