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 |
|
Jeremy Ashkenas
|
9894eeb8e9
|
Improving double-parentheses suppression. Issue #587
|
2010-08-14 17:43:58 -04:00 |
|
Jeremy Ashkenas
|
ca18f1fad6
|
Core Compiler is JSLint-free again, after removing a couple extra semicolons that snuck in when if statements compiled at the top level.
|
2010-08-14 11:42:19 -04:00 |
|
Jeremy Ashkenas
|
6c997978bc
|
CoffeeScript 0.9.1 is on the books.
|
2010-08-11 00:40:15 -04:00 |
|
Jeremy Ashkenas
|
0ada5a7734
|
Issue #587 ... Removing the Attempted Removal of Erroneous Double Parens.
|
2010-08-07 08:13:36 -04:00 |
|
Jeremy Ashkenas
|
9df3e6a538
|
first step towards requiring #{ ... } interpolation -- removing naked interps from the compiler.
|
2010-08-07 08:02:16 -04:00 |
|
Jeremy Ashkenas
|
dc1288d319
|
slightly optimizing return values of AssignNodes. Issue #539
|
2010-07-24 12:27:11 -07:00 |
|
Jeremy Ashkenas
|
3b6f020f8a
|
Making the spacing of symbols on function declaration consistent. No-space when single-line. Spaced when block. (StanAngeloff)
|
2010-07-24 08:31:43 -07:00 |
|
Jeremy Ashkenas
|
6c8eab7af5
|
michaelficarra's suggestion to make object comprehensions' hasOwnProperty check a continue, instead of a wrapped if.
|
2010-07-16 22:31:36 -04:00 |
|
Jeremy Ashkenas
|
08ab4abd43
|
removing obvious redundant parentheses.
|
2010-06-27 23:55:18 -04:00 |
|
Jeremy Ashkenas
|
ec570c46bf
|
Big commit. First draft of stripping comments from generated JS output. Issue #41
|
2010-06-27 12:59:54 -04:00 |
|
Dan Holmsand
|
6bc7b56e6e
|
Make sure variables named e.g. "constructor" are declared with var
|
2010-06-16 12:54:53 +02:00 |
|
Jeremy Ashkenas
|
e14f4c5db1
|
First draft of switching the CoffeeScript Compiler over to camelCase. Pour one on the ground for underscores...
|
2010-06-12 19:05:13 -04:00 |
|
Jeremy Ashkenas
|
dfb3a13246
|
Fixed lingering CoffeeScript Compiler running live in Internet Explorer bugs. Implemented helpers.index_of and removed named functions. Ticket #366
|
2010-05-14 23:40:04 -04:00 |
|
Jeremy Ashkenas
|
835ecac8db
|
simplifying some unecessary interpolated expressions into interpolated values.
|
2010-04-11 16:57:53 -04:00 |
|
Chris Lloyd
|
19ed63129e
|
Interpolated strings are expressions.
|
2010-04-04 17:05:52 +10:00 |
|
Jeremy Ashkenas
|
864275f07e
|
removing __range, and all the slice behavior it enabled. If you can't do array[-1], then you shouldn't be able to do array[0..-1] -- it's just too inconsistent.
|
2010-03-30 20:06:44 -04:00 |
|
Jeremy Ashkenas
|
998a7c8cb0
|
more cleanups, added a utility helper function to the codegen
|
2010-03-30 19:48:37 -04:00 |
|
Jeremy Ashkenas
|
6d7a04228f
|
another reshuffle ... removed utilities.coffee entirely.
|
2010-03-30 19:42:09 -04:00 |
|
Jeremy Ashkenas
|
4a8c2e8a13
|
more refactors to utilities ... removing dependencies and the namespacing
|
2010-03-30 19:27:38 -04:00 |
|