Stan Angeloff
|
026e7649d5
|
Empty expression interpolations evaluate as empty strings now.
|
2010-03-08 04:13:59 -05: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 |
|
Jeremy Ashkenas
|
b08995cbcc
|
fixing heredocs with multiple double quotes (broken regex from the Ruby translation), with tests.
|
2010-02-28 10:29:30 -05:00 |
|
Jeremy Ashkenas
|
56eb474bf3
|
If you don't specify a constructor, one will be provided for you by the state.
|
2010-02-28 00:13:17 -05:00 |
|
Jeremy Ashkenas
|
4ec7514d10
|
making inner comments work within class definitions
|
2010-02-27 19:03:23 -05:00 |
|
Jeremy Ashkenas
|
1c7e4c4203
|
first draft of adding classes to CoffeeScript
|
2010-02-27 18:57:45 -05:00 |
|
Jeremy Ashkenas
|
afa26c37f1
|
fixing regexp literals versus division, with tests
|
2010-02-27 14:30:14 -05:00 |
|
Jeremy Ashkenas
|
2f658ba925
|
fixing multiple single-line function forms on the same line
|
2010-02-27 11:03:43 -05:00 |
|
Jeremy Ashkenas
|
eab9bbf04f
|
adding a test for nested pattern matching
|
2010-02-25 07:31:33 -05:00 |
|
Jeremy Ashkenas
|
69feac3a01
|
adding return values for destructuring assignment.
|
2010-02-25 00:43:02 -05:00 |
|
Jeremy Ashkenas
|
10d335ccb1
|
adding existence soaks for indexed-lookup property accesses: obj?['property']
|
2010-02-24 00:06:01 -05:00 |
|
Jeremy Ashkenas
|
4eeb8c4bd2
|
adding conditional while loops with while ... when
|
2010-02-23 22:53:43 -05:00 |
|
Jeremy Ashkenas
|
3df7bd98f4
|
fixing issue 196, better handling of soak/existence chains
|
2010-02-22 22:11:47 -05:00 |
|
Chris Hoffman
|
fdffacfb40
|
Make trailing else on switch fix pass on to multiple when switches
|
2010-02-22 19:17:54 -06:00 |
|
Jeremy Ashkenas
|
a64afe6162
|
fixing the trailing-else-in-switch-getting-sucked-in-bug, Issue 195.
|
2010-02-22 19:22:09 -05:00 |
|
Jeremy Ashkenas
|
b027b5cf0d
|
Allowing @[property] syntax.
|
2010-02-20 20:09:52 -05:00 |
|
Jeremy Ashkenas
|
0f2a2ee11e
|
Improving soaks to avoid uncessesary parentheses.
|
2010-02-20 20:00:07 -05:00 |
|
Jeremy Ashkenas
|
a93229b14d
|
fixing an off-by-one error in Splat compilation
|
2010-02-20 18:25:36 -05:00 |
|
Jeremy Ashkenas
|
c39415da44
|
using the new fs.writeFile API instead of fs.open -- much, much nicer
|
2010-02-19 18:27:50 -05:00 |
|
Jeremy Ashkenas
|
dd753d3b78
|
Removing the notion of a ThisNode so that we don't have to worry about the special cases. Fixes Issue 180
|
2010-02-19 07:51:52 -05:00 |
|
Jeremy Ashkenas
|
87e60dccf0
|
starting to cache fancy switch values -- fixing issue #171
|
2010-02-17 21:23:59 -05:00 |
|
Jeremy Ashkenas
|
6a45d25777
|
adding a test for parenthesized throws
|
2010-02-17 19:29:37 -05:00 |
|
Jeremy Ashkenas
|
a8a46257ae
|
finished converting the test suite, to run it, do: bin/node_coffee -r tasks.coffee -- test
|
2010-02-16 19:45:25 -05:00 |
|
Jeremy Ashkenas
|
b41afe79b4
|
removed ruby tests, and started the process of converting the CoffeeScript tests over to use Node's assert() module
|
2010-02-16 19:38:52 -05:00 |
|
Jeremy Ashkenas
|
51e80484e2
|
fixing an overzealous access in the rewriter
|
2010-02-16 10:12:40 -05:00 |
|
Jeremy Ashkenas
|
a3c8c0b492
|
allowing keywords as identifiers, when used as identifiers, because we've got more keywords than JavaScript does.
|
2010-02-16 08:43:58 -05:00 |
|
Jeremy Ashkenas
|
fa63288f52
|
fixed the while-loop-condition-with-implicit-function-call bug
|
2010-02-15 23:05:54 -05:00 |
|
Jeremy Ashkenas
|
63c2b2bc64
|
adding paren wrappers for property accesses directly on object literals
|
2010-02-15 19:13:08 -05:00 |
|
Jeremy Ashkenas
|
e7291f57ba
|
fixing allowing empty functions like () ->
|
2010-02-15 18:03:00 -05:00 |
|
Jeremy Ashkenas
|
506ea8aa52
|
adding an if/else/chain test
|
2010-02-13 02:00:39 -05:00 |
|
Jeremy Ashkenas
|
1a6194e9f0
|
self-compiling switch statements
|
2010-02-12 16:23:52 -05:00 |
|
Jeremy Ashkenas
|
e883a559ca
|
uncomment test
|
2010-02-11 02:41:24 -05:00 |
|
Jeremy Ashkenas
|
713f6f32e1
|
done for now
|
2010-02-11 02:39:57 -05:00 |
|
Jeremy Ashkenas
|
c6a6788694
|
removing the constructor safety check -- it wasn't safe enough (Issue 36)
|
2010-02-09 07:59:48 -05:00 |
|
Jeremy Ashkenas
|
78a4974de9
|
allowing numbers to be used as object keys
|
2010-02-08 11:48:43 -05:00 |
|