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 |
|
satyr
|
7450df8104
|
#713: destructuring assignment is no longer statement and correctly returns RHS value
|
2010-09-29 05:47:12 +09:00 |
|
satyr
|
e0ed254252
|
helpers: now directly exported
|
2010-09-25 09:29:44 +09:00 |
|
Jeremy Ashkenas
|
7e5db250d3
|
Merge branch 'master' of git://github.com/StanAngeloff/coffee-script
|
2010-09-21 08:06:12 -04:00 |
|
satyr
|
e4b7d06f35
|
removed browser specific hacks from src/* by making "rake browser" provide fake require and exports
|
2010-09-21 18:37:44 +09:00 |
|
satyr
|
b19c004680
|
made wrapper function keep current this
|
2010-09-21 16:53:58 +09:00 |
|
Stan Angeloff
|
992f4192bf
|
Re-compiling core with new temporary variable names, all tests pass.
|
2010-09-21 07:55:08 +03:00 |
|
Jeremy Ashkenas
|
a16594ed7b
|
Merging in Stan's temporary_junk improvements.
|
2010-09-20 22:13:08 -04:00 |
|
Jeremy Ashkenas
|
f7fce3cd68
|
tweaking compiled tempvar names to satisfaction.
|
2010-09-20 21:56:18 -04:00 |
|
Stan Angeloff
|
99a06ce4ea
|
Updating name for cached length temporary variables to '_length', 'length2', and
so on.
|
2010-09-20 08:42:31 +03:00 |
|
Stan Angeloff
|
31441868e0
|
Allowing temporary variables to be reused.
|
2010-09-19 19:34:27 +03:00 |
|
Stan Angeloff
|
d568b56c5e
|
First attempt at allowing temporary variables to be reused.
|
2010-09-19 17:47:26 +03:00 |
|
Stan Angeloff
|
3ab0c12bf1
|
Don't store tempVars as we can get the next available one from scope.
|
2010-09-19 17:03:45 +03:00 |
|
Stan Angeloff
|
ed74f42323
|
Refactoring temporary name generation in a separate method, no
functional changes.
|
2010-09-19 16:18:01 +03:00 |
|
Stan Angeloff
|
65fa0411b4
|
Part of previous commit: updating how temporary variables are generated.
We no longer need to store the name of the last generated variable,
instead we store the index.
|
2010-09-19 15:50:17 +03:00 |
|
Stan Angeloff
|
408833daef
|
Removing code added during the migration. freeVariable(..) is called with
a `type` at all times.
|
2010-09-19 15:37:26 +03:00 |
|
Stan Angeloff
|
bb35b3e3b2
|
Re-compiling core with new changes. All tests pass.
|
2010-09-19 15:29:15 +03:00 |
|
Stan Angeloff
|
fe68261bc2
|
Added generator for custom free variable types, e.g., '_cache',
'_cache2', and so on.
|
2010-09-19 14:55:19 +03:00 |
|
Stan Angeloff
|
1f2c6c77fd
|
s/tempVars/tempVars.general/ This should allow us to store more than one
category of temporary variables.
|
2010-09-19 14:36:37 +03:00 |
|
Jeremy Ashkenas
|
fa95f743f3
|
Fixing Issue #643. Be a little bit safer about declaring block variables as close to the block scope as possible.
|
2010-08-24 22:19:53 -04:00 |
|
Jeremy Ashkenas
|
87693d84cb
|
Updating Underscore to 1.1.0, fixing a hasOwnProperty glitch in Scope, and a double-semicolon bug in ParentheticalNode.
|
2010-08-21 08:30:22 -04:00 |
|