Jeremy Ashkenas
|
f9a0bbbc20
|
safer paren-wrapping for closures.
|
2010-12-23 10:50:52 -08:00 |
|
Jeremy Ashkenas
|
466cd43277
|
Pulling in variable declarations closer to inner scope (after Coco).
|
2010-12-13 21:24:32 -05:00 |
|
Jeremy Ashkenas
|
39009dcfb9
|
Fixing Issue #916. Overoptimization leading to empty var;
|
2010-12-12 12:16:27 -05:00 |
|
Jeremy Ashkenas
|
2fb269a938
|
refactoring Scope.
|
2010-12-06 23:32:32 -05:00 |
|
Jeremy Ashkenas
|
ec64646fee
|
Issue #901 ... allow constructor functions to maintain their position in the class body.
|
2010-12-06 01:01:57 -05:00 |
|
Jeremy Ashkenas
|
2decb30d4e
|
Issue #897 ... fixed leaking direct-call-plucked comprehension variables, due to shared scope.
|
2010-12-05 21:18:30 -05: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
|
7fda0cd7d9
|
first draft of coco's executable class bodies ... cleanups and tests to follow.
|
2010-11-11 21:48:08 -05:00 |
|
Jeremy Ashkenas
|
9017b1ad3d
|
_result -> _results
|
2010-11-09 00:17:08 -05:00 |
|
Jeremy Ashkenas
|
9c5eca9131
|
coco dc8945c: less ternaries, more returns-from-ifs. More readable.
|
2010-11-08 23:07:51 -05: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
|
b0e7c3e3e7
|
modified satyr -- made temp vars be declared later.
|
2010-11-01 23:58:03 -04:00 |
|
Jeremy Ashkenas
|
c17efcf422
|
merging satyr/defarg
|
2010-11-01 21:33:07 -04:00 |
|
Jeremy Ashkenas
|
6b4e437c93
|
CoffeeScript now compiled 'undefined' as 'void 0'
|
2010-10-27 22:50:20 -04:00 |
|
satyr
|
4eeab947dd
|
defarg: removed Splat::compileParam in favor of using the normal array destructuring against arguments
|
2010-10-26 18:57:32 +09:00 |
|
Timothy Jones
|
2ddae698bb
|
Using a typeof check in scope.
|
2010-10-25 14:42:37 +13:00 |
|
Jeremy Ashkenas
|
6a9c4380f3
|
Fixing scope.coffee -- we can't use a JS object as a hash that has to contain the word 'hasOwnProperty'
|
2010-10-24 21:23:32 -04:00 |
|
Jeremy Ashkenas
|
c2da8c2d54
|
Removing extraneous semicolon, adding back in final break -- src now lints cleanly.
|
2010-10-24 20:51:55 -04: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 |
|
Jeremy Ashkenas
|
0342b0a89f
|
merging the range-killer to master
|
2010-10-21 21:27:45 -04:00 |
|
satyr
|
341de42692
|
removed extra parens around simple values
|
2010-10-22 09:35:15 +09:00 |
|
satyr
|
79148d2940
|
refactored loop variable caching
|
2010-10-22 02:07:00 +09:00 |
|
satyr
|
bd10c2f828
|
implemented for-from-to and removed dotted ranges
|
2010-10-21 23:06:50 +09:00 |
|
Jeremy Ashkenas
|
7596e3a157
|
putting back arguments.
|
2010-10-21 00:07:21 -04:00 |
|
Jeremy Ashkenas
|
bb080130b9
|
tweaks to scope
|
2010-10-20 23:09:06 -04:00 |
|
satyr
|
53fbfc7d15
|
removed extra parens from in/return compilations
|
2010-10-21 07:19:08 +09:00 |
|
satyr
|
c11ca94870
|
removed extra parens from soak compilations
|
2010-10-21 04:51:11 +09:00 |
|
satyr
|
b0a4b7ab85
|
scope: refactored
|
2010-10-20 17:13:43 +09:00 |
|
Timothy Jones
|
8d6b909b93
|
Removing the utterly pointless splice in scope for the much more reasonable assignment.
|
2010-10-20 19:51:53 +13:00 |
|
Timothy Jones
|
15cfe8ebf1
|
Restoring garbage collection.
|
2010-10-20 12:58:59 +13:00 |
|
Timothy Jones
|
8c4a48d9d0
|
Adjusting refactor to better emulate map.
|
2010-10-20 12:51:34 +13:00 |
|
Timothy Jones
|
8fff6e9baf
|
Refactoring scope to use an array instead of an object, to make the IE bugfix significantly tidier.
|
2010-10-20 12:36:50 +13:00 |
|
Timothy Jones
|
083fc61dfb
|
Fixing IE DontEnum bug in Scope. Ignoring everywhere else.
|
2010-10-20 12:02:38 +13:00 |
|
Timothy Jones
|
cf5a086263
|
Removing accidental superfluous temp variables.
|
2010-10-20 04:07:10 +13:00 |
|
Timothy Jones
|
cb6be74851
|
Fixing for magic scoping issues. Small steps at a time.
|
2010-10-20 02:51:52 +13:00 |
|
Michael Ficarra
|
1ea38d2f93
|
fixing #768, preserving execution order of in arguments when compiled
to an `or`.
|
2010-10-13 12:10:36 -04:00 |
|
Jeremy Ashkenas
|
acc06d772a
|
Back four commits ... Fixing named function expressions -> function declarations for IE. (grumble grumble)
|
2010-10-11 12:13:01 -04:00 |
|
satyr
|
95bc4c5eeb
|
reenabled stricter caching on For compilation as well as reduced a line from it
|
2010-10-07 12:31:05 +09:00 |
|
Jeremy Ashkenas
|
69d2048ccc
|
Re-enabling garbage collection of tempvars, only at function boundaries.
|
2010-10-06 21:19:05 -04:00 |
|
Jeremy Ashkenas
|
59d6e59f97
|
Fixing Issue 730 -- and removing garbage collection of tempvars (which was totally unsafe.)
|
2010-10-06 20:54:08 -04:00 |
|
Jeremy Ashkenas
|
8bc706a94e
|
Merging in heregexes
|
2010-10-05 00:11:28 -04:00 |
|
Jeremy Ashkenas
|
2b66d5d6c0
|
First draft of named classes.
|
2010-10-04 23:21:16 -04:00 |
|
Timothy Jones
|
645075f910
|
All classes now named.
|
2010-10-05 15:52:33 +13:00 |
|
satyr
|
cdd033ffb0
|
disabled interpolations in normal regexes
|
2010-10-04 21:51:04 +09:00 |
|
Jeremy Ashkenas
|
26de26f88f
|
conditionals with no alternative now evaluate to 'undefined' instead of 'null'
|
2010-10-01 20:52:23 -04:00 |
|
satyr
|
8cdee9c0f4
|
ensured arguments in each scope
|
2010-10-02 08:21:34 +09:00 |
|