matehat
|
8d098194dd
|
Added the '<-' currying operator, as heavily discussed in #251, along with tests.
|
2010-03-18 00:08:34 -04:00 |
|
Jeremy Ashkenas
|
884637468e
|
fixing off-by-one error in compile_splat_arguments
|
2010-03-17 22:07:11 -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
|
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
|
e3021909c2
|
comments and tests
|
2010-03-16 06:54:49 -04:00 |
|
Jeremy Ashkenas
|
21e954eec3
|
updating module loading test
|
2010-03-15 23:08:58 -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
|
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
|
8c2b2c7f80
|
merging in the fixed branch for gfxmonk/break_issue
|
2010-03-15 22:22:41 -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
|
3fed9761a6
|
let's make that non-greedy
|
2010-03-15 21:50:33 -07:00 |
|
Jeremy Ashkenas
|
6ccf196b61
|
adding another language extension test, with %w{} style ruby word array literals
|
2010-03-15 21:47:40 -07:00 |
|
Jeremy Ashkenas
|
a4bd8dc623
|
removing outdated arguments tests
|
2010-03-15 21:45:37 -07:00 |
|
Jeremy Ashkenas
|
73074daa07
|
removing arguments-to-array-conversion from coffee
|
2010-03-15 20:46:14 -07:00 |
|
Jeremy Ashkenas
|
75ffb9dc84
|
stop mixing in helpers (t(ticket #250) -- with a test
|
2010-03-14 14:48:43 -07:00 |
|
gfxmonk
|
3c3e7f666b
|
added another "invalid break" example, with code not on the top-level
|
2010-03-14 13:02:36 +11:00 |
|
gfxmonk
|
89dfa1fd7a
|
added code to illustrate an issue with break statements
|
2010-03-14 13:02:35 +11:00 |
|
gfxmonk
|
1da00f0ee3
|
added a test case for broken "break" statement
|
2010-03-14 11:35:56 +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
|
b9f1390405
|
adding more comment tests -- this terminator/comment as-block business really seems to have opened them up a bit
|
2010-03-10 16:44:50 -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
|
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 |
|
Jeremy Ashkenas
|
5754d36fdd
|
adding the broken test
|
2010-03-09 23:32:54 -05:00 |
|
Jeremy Ashkenas
|
3d14d362a8
|
first draft of CoffeeScript language extensions.
|
2010-03-09 23:04:16 -05:00 |
|
Jeremy Ashkenas
|
472e027463
|
fixing the nested-implicit-parens-on-a-single-line
|
2010-03-09 21:54:44 -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
|
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 |
|
Stan Angeloff
|
81af8f296e
|
Regular expression interpolations; fixed bug in string interpolations when all tokens were identifiers.
|
2010-03-08 20:06:51 +02:00 |
|
Stan Angeloff
|
a5f69ef716
|
Empty expression interpolations evaluate as empty strings now.
|
2010-03-08 09:31:31 +02:00 |
|
Jeremy Ashkenas
|
570fb013e2
|
test tweaks
|
2010-03-07 22:29:46 -05:00 |
|
Jeremy Ashkenas
|
71ace9d8d0
|
allowing naked interpolation of dotted properties. .property
|
2010-03-07 22:26:25 -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
|
a4f7a5e248
|
documenting and cleaning up the Rewriter
|
2010-03-07 14:41:52 -05:00 |
|
Stan Angeloff
|
f74fae58e3
|
Rewritting lexer.coffee to accept nested string interpolations.
|
2010-03-07 11:42:52 -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 |
|
Stan Angeloff
|
83fd84745d
|
Rewriting string tokenizer; allowing nested double-quoted strings inside expression interpolations.
|
2010-03-06 15:21:30 -05:00 |
|
Jeremy Ashkenas
|
47682de0f0
|
adding a test for intermingled identifier/expression interpolations
|
2010-03-05 22:54:39 -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 |
|
Stan Angeloff
|
75be5eed62
|
Test line commented by mistake, no functional changes
|
2010-03-05 19:50:28 -05:00 |
|
Stan Angeloff
|
e2f86678a4
|
Allowing expressions to be used inside strings; syntax is $\{...\}
|
2010-03-05 19:50:20 -05:00 |
|
Stan Angeloff
|
fe7d5dfd19
|
Added string interpolation for identifiers
|
2010-03-05 19:49:48 -05:00 |
|
Jeremy Ashkenas
|
5fd0972b5d
|
improvement to comment handling that should ensure that they have no effect on indentation
|
2010-03-02 19:23:21 -05:00 |
|
Jeremy Ashkenas
|
c219adffd5
|
removing special rule from rewriter for naked functions in arrays
|
2010-03-02 00:43:01 -05:00 |
|
Jeremy Ashkenas
|
bb2bf7ce57
|
allowing chaining of property accesses by indentation level (really nice for Node and jQuery work) ticket #221
|
2010-02-28 12:49:37 -05:00 |
|