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 |
|
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 |
|