Jeremy Ashkenas
9017b1ad3d
_result -> _results
2010-11-09 00:17:08 -05:00
Jeremy Ashkenas
b0e7c3e3e7
modified satyr -- made temp vars be declared later.
2010-11-01 23:58:03 -04:00
Jeremy Ashkenas
c92fd79f35
normalizing loop declarations towards common JS practice.
2010-10-21 21:51:06 -04:00
satyr
79148d2940
refactored loop variable caching
2010-10-22 02:07:00 +09:00
satyr
c1dc74fc8b
removed extra parens from compilations with assignments or conditional operators
2010-10-21 02:29:06 +09:00
satyr
2c84f3ed1f
removed helpers.{indexOf,include} in favor of in operator
2010-10-20 12:20:10 +09:00
satyr
90a13bd791
compound assignments are now represented as Assign nodes (rather than Op) and have the same precedence as =
2010-10-20 09:50:42 +09: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
satyr
2ea549ce5f
made ForNode avoid needless cachings
2010-10-02 07:26:37 +09:00
Jeremy Ashkenas
b0f49be19e
Can't rely on Array.isArray ...
2010-09-28 20:12:37 -04:00
Stéphan Kochen
52e7d9a672
Fixing #723 ; switch cases not iterated by eachChild.
2010-09-28 20:28:05 +02:00
satyr
b2313beaf4
added last to helpers
2010-09-29 00:10:03 +09:00
Jeremy Ashkenas
45bd0854b6
Merging in satyr's helpers-refactor
2010-09-26 10:28:48 -04:00
satyr
e0ed254252
helpers: now directly exported
2010-09-25 09:29:44 +09:00
satyr
9005682cf1
helpers: refactored and fixed comments
2010-09-25 09:18:47 +09: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
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
bb35b3e3b2
Re-compiling core with new changes. All tests pass.
2010-09-19 15:29:15 +03: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
ac2f814eb4
fixing issue 542. Parse error with leading object literal as part of operation.
2010-07-25 20:59:28 -07:00
Jeremy Ashkenas
6b0418a74a
merging master changes into symbology
2010-07-25 00:15:12 -07:00
Jeremy Ashkenas
de9fb7777b
fixing If/else-to-ternary with instanceof as an unparenthesized condition. JS operator precedence.
2010-07-23 20:44:56 -07:00
Jeremy Ashkenas
72c4efbc39
adding a new comprehension 'for all key, value of object', which compiles to the naked JS for..in, including enumerable properties inherited from prototypes.
2010-07-15 21:18:35 -04:00
Jeremy Ashkenas
0b87387fab
slightly nicer implementation of SplatNode.compileSplattedArray
2010-07-13 22:16:19 -04:00
Jeremy Ashkenas
1f7af35368
getting ready for a 0.7.0. cleanups and doc revisions, not quite there yet.
2010-06-28 00:19:58 -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
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
Chris Lloyd
19ed63129e
Interpolated strings are expressions.
2010-04-04 17:05:52 +10:00
Jeremy Ashkenas
7de5253318
removing unused reserved variable 'source var' from range comprehensions
2010-03-27 16:04:47 -04:00
Jeremy Ashkenas
590c069158
CoffeeScript 0.5.6
2010-03-23 00:18:50 -04:00
Jeremy Ashkenas
80230414a2
merging in gfxmonk's major refactor to the way that returns are pushed down into the interior of expressions
2010-03-21 11:28:05 -04:00
gfxmonk
cc3c314988
Cleaned up return logic
...
- ReturnNodes are explicitly added during compilation
- ReturnNode is used instead of scattering "return" throughout
code compilation snippets
- nodes gain a make_return method in order to do the most useful
thing when a return is requested
2010-03-21 22:21:55 +11:00
Jeremy Ashkenas
391135b1a5
fixing the relative path to 'grammar'
2010-03-16 19:36:08 -04:00
Jeremy Ashkenas
02f4cb75dd
removing deprecated references to process.mixin in favor of helpers.extend for Node 0.1.32
2010-03-15 22:53:25 -07:00
Jeremy Ashkenas
75ffb9dc84
stop mixing in helpers (t(ticket #250 ) -- with a test
2010-03-14 14:48:43 -07:00
Jeremy Ashkenas
ccb7f63b8a
fixing exports for the browser
2010-03-10 09:47:02 -05:00
Jeremy Ashkenas
1f9bb6a1c4
fixing broken multi-line optional-paren blocks
2010-03-10 09:28:00 -05:00
Jeremy Ashkenas
b297510d2b
big refactor -- pulled all helper functions into helpers.coffee to facilitate sharing.
2010-03-09 21:24:30 -05:00