Jeremy Ashkenas
|
094b876a38
|
Scoped comprehensions are back out, Do is back in.
|
2010-12-24 08:59:30 -08:00 |
|
Jeremy Ashkenas
|
61705e4d22
|
Issue #964. Super should trigger an implicit call.
|
2010-12-23 12:57:27 -08:00 |
|
Jeremy Ashkenas
|
9395d58669
|
Remove seenFor in favor of a safe scanLineBack.
|
2010-12-23 11:22:01 -08:00 |
|
Jeremy Ashkenas
|
f9a0bbbc20
|
safer paren-wrapping for closures.
|
2010-12-23 10:50:52 -08:00 |
|
Jeremy Ashkenas
|
f567dafe62
|
being stricter about body-less scoped loops.
|
2010-12-21 20:28:48 -05:00 |
|
Jeremy Ashkenas
|
dc2f77e019
|
Allowing the fat arrow to be used in scoped loops.
|
2010-12-21 19:14:53 -05:00 |
|
Jeremy Ashkenas
|
72e5c4300c
|
Removing 'do', in favor of a trailing ->
|
2010-12-21 18:54:36 -05:00 |
|
Jeremy Ashkenas
|
53363e6b80
|
Issue #958. Removing UNLESS tokens to make them just inverted IFs.
|
2010-12-20 22:50:49 -05:00 |
|
Jeremy Ashkenas
|
7ba0573702
|
More tweaks to Slice#compileNode
|
2010-12-20 08:13:07 -05:00 |
|
Karl Guertin
|
e692e7cd9e
|
Take out object call rewriter condition
|
2010-12-18 15:27:19 -05:00 |
|
Michael Ficarra
|
1fbaff9f81
|
using 9e9 over 1/0 for compatibility
|
2010-12-16 12:18:53 -05:00 |
|
Michael Ficarra
|
eeb1a284a8
|
Fixing #930 so I can work on testing ranges, slices, and splices.
Regression tests for this will come with the other refactored slicing
tests in a future commit.
|
2010-12-16 03:25:54 -05:00 |
|
Jeremy Ashkenas
|
1f5727fe9d
|
Coco 38aa762: rewriter: made addImplicitBraces consume multiple leading comments
|
2010-11-28 17:54:00 -08:00 |
|
Jeremy Ashkenas
|
1254efaddb
|
Issue #878. Namespaced classes should not leak their function name.
|
2010-11-28 10:08:49 -08:00 |
|
Jeremy Ashkenas
|
4447180d5a
|
Removing dynamic keys from objects.
|
2010-11-28 09:42:43 -08:00 |
|
Jeremy Ashkenas
|
41beccbe3c
|
reverting Scope#temporary simplification.
|
2010-11-28 09:28:46 -08:00 |
|
Jeremy Ashkenas
|
51988dba09
|
Removing unused garbage collection from Scope.
|
2010-11-27 18:04:40 -08:00 |
|
Jeremy Ashkenas
|
0e4d589d80
|
Coco ce2d08a: removed _argN temporaries for readability/consistency
|
2010-11-20 20:39:35 -05:00 |
|
Jeremy Ashkenas
|
31f4214b5d
|
first draft of range literals back...
|
2010-11-20 17:40:46 -05:00 |
|
Jeremy Ashkenas
|
be17b8215c
|
constructor: prefix is back for classes. punto.
|
2010-11-14 14:21:55 -05:00 |
|
Jeremy Ashkenas
|
354708dbc2
|
Putting 'constructor' back. Improving constructor definitions.
|
2010-11-13 12:17:09 -05:00 |
|
Jeremy Ashkenas
|
18afd2d84f
|
merging in master
|
2010-11-12 20:18:52 -05:00 |
|
Jeremy Ashkenas
|
6d3e9df89f
|
coco c39edf: braceless objects can now have trailing herecomments
|
2010-11-12 20:16:08 -05:00 |
|
Jeremy Ashkenas
|
50c2226dd3
|
first draft of metaprogramming in class defn's.
|
2010-11-12 00:05:30 -05:00 |
|
Jeremy Ashkenas
|
7fda0cd7d9
|
first draft of coco's executable class bodies ... cleanups and tests to follow.
|
2010-11-11 21:48:08 -05:00 |
|
Jeremy Ashkenas
|
611174b0af
|
Revert "coco b8039b9: merged @closeOpenCalls and @closeOpenIndexes into @closeOpenPairs"
This reverts commit a151ceccc6.
|
2010-11-09 08:20:09 -05:00 |
|
Jeremy Ashkenas
|
188ad03c17
|
coco b615379: optimized @ensureBalance
|
2010-11-09 00:36:13 -05:00 |
|
Jeremy Ashkenas
|
a151ceccc6
|
coco b8039b9: merged @closeOpenCalls and @closeOpenIndexes into @closeOpenPairs
|
2010-11-09 00:31:11 -05:00 |
|
Jeremy Ashkenas
|
9017b1ad3d
|
_result -> _results
|
2010-11-09 00:17:08 -05:00 |
|
Jeremy Ashkenas
|
042af51751
|
combination of satyr's three comment patches ... comments are now statements, not expressions...
|
2010-11-08 23:39:21 -05:00 |
|
Jeremy Ashkenas
|
9c5eca9131
|
coco dc8945c: less ternaries, more returns-from-ifs. More readable.
|
2010-11-08 23:07:51 -05:00 |
|
satyr
|
0441d4a5d1
|
rewriter: no longer tries to include dynamic keys into braceless objects
|
2010-11-02 23:22:41 +09:00 |
|
Jeremy Ashkenas
|
5eb255a649
|
modified satyr: allowed temporary variables to share names with ones on upper scopes
|
2010-11-02 00:31:42 -04:00 |
|
Jeremy Ashkenas
|
605f362ab6
|
BY now closes implicit calls.
|
2010-11-02 00:25:04 -04:00 |
|
Jeremy Ashkenas
|
987aaa0e19
|
modified satyr -- when now closes implicit calls.
|
2010-11-02 00:00:26 -04:00 |
|
Jeremy Ashkenas
|
b0e7c3e3e7
|
modified satyr -- made temp vars be declared later.
|
2010-11-01 23:58:03 -04:00 |
|
Jeremy Ashkenas
|
6aaa2eb4d0
|
safer splats with __slice where necessary.
|
2010-11-01 23:41:05 -04:00 |
|
Jeremy Ashkenas
|
6b4e437c93
|
CoffeeScript now compiled 'undefined' as 'void 0'
|
2010-10-27 22:50:20 -04:00 |
|
Jeremy Ashkenas
|
853d28860a
|
Issue #801 -- Empty catch statements immediately preceding outdents.
|
2010-10-27 22:21:47 -04:00 |
|
satyr
|
426d71cb4f
|
leading then is now valid
|
2010-10-26 05:36:32 +09:00 |
|
satyr
|
ad79e142ca
|
refactored operator parsing
|
2010-10-26 03:58:11 +09:00 |
|
satyr
|
863f3f6b47
|
rewriter: (a): (b): (c) is now allowed
|
2010-10-26 00:56:03 +09:00 |
|
satyr
|
ff82c59903
|
rewriter: a: b: c is now valid
|
2010-10-26 00:38:28 +09:00 |
|
Jeremy Ashkenas
|
c2da8c2d54
|
Removing extraneous semicolon, adding back in final break -- src now lints cleanly.
|
2010-10-24 20:51:55 -04:00 |
|
Jeremy Ashkenas
|
6347849cd0
|
Switching parenthesized side in comprehensions.
|
2010-10-24 14:11:09 -04:00 |
|
satyr
|
a458c4a905
|
dynakeys: can now do destructuring assignments
|
2010-10-24 17:56:34 +09:00 |
|
satyr
|
85c8a6780a
|
dynakeys: can now be braceless
|
2010-10-24 15:39:11 +09:00 |
|
satyr
|
2bc2c4717e
|
nodes: refactored and removed the notion of o.top in favor of LVL_TOP
|
2010-10-23 19:18:04 +09:00 |
|
satyr
|
b82f495ec7
|
nodes: introduced a notion of levels that streamlines parenthesizations
|
2010-10-23 19:17:56 +09:00 |
|
Jeremy Ashkenas
|
c92fd79f35
|
normalizing loop declarations towards common JS practice.
|
2010-10-21 21:51:06 -04:00 |
|