Jeremy Ashkenas
f9a0bbbc20
safer paren-wrapping for closures.
2010-12-23 10:50:52 -08:00
Jeremy Ashkenas
f5c5709cd9
trailing file, uncompiled.
2010-12-22 21:46:06 -08:00
Jeremy Ashkenas
6495508194
First draft of --join.
2010-12-22 21:26:15 -08:00
Jeremy Ashkenas
31892e1d68
Issue #959 (and countless others) Removing the loop-block-scoped magic for once and for all.
2010-12-21 15:45:46 -05:00
Jeremy Ashkenas
640ba7d69e
Issue #948 . A plucked direct call should not have shared scope. (kinda defeats the whole point.)
2010-12-18 10:41:44 -05:00
Jeremy Ashkenas
bc4498e018
Issue #910 . Adding support for a --nodejs flag to forward arguments.
2010-12-18 09:29:04 -05:00
Michael Ficarra
805d03125b
added --node flag for passing options through directly to node
2010-12-17 02:39:39 -05:00
Jeremy Ashkenas
466cd43277
Pulling in variable declarations closer to inner scope (after Coco).
2010-12-13 21:24:32 -05:00
Jeremy Ashkenas
9f56c92497
Issue #853 . Normalizing values of ARGV and argv with Node.js
2010-12-11 13:50:59 -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
f6be426aa0
utils -> util.
2010-12-05 17:51:52 -05:00
Jeremy Ashkenas
17b5c8ac6f
Issue #887 and #893 . Adding timestamps to --watch --compile.
2010-12-05 16:06:13 -05:00
Stan Angeloff
a9e264dd84
console.{log,warn} → print{Line,Warn}
2010-11-28 16:04:52 +02:00
Jeremy Ashkenas
39c4c23200
nested shared scopes don't clobber variables.
2010-11-27 17:52:52 -08:00
Jeremy Ashkenas
5dfd36af6a
removing some extra parens.
2010-11-21 19:59:22 -05:00
Jeremy Ashkenas
1778177195
continuing to document the homepage for 0.9.5 ... removing an optimization for local variables within loops.
2010-11-21 19:53:31 -05:00
Jeremy Ashkenas
12134d2043
Using pluckDirectCalls again
2010-11-20 18:14:05 -05:00
Jeremy Ashkenas
31f4214b5d
first draft of range literals back...
2010-11-20 17:40:46 -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
Janne Hietamäki
3af34d61d3
Do not pass invalid filename 'stdio' to compileScript when compiling from stdin because it breaks fs.realpathSync at run.
...
It would be nice to have a test for this but wasn't sure if there is a way to test stdin from cake.
2010-11-06 15:21:45 +02:00
Jeremy Ashkenas
f6a8d4c074
round 2, light refactors.
2010-11-04 23:05:04 -04:00
Jeremy Ashkenas
d5f639fc50
fixing unsafe unwrapAll in previous commit.
2010-11-03 22:11:38 -04: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
67f1e04f3b
merging in Trevor's --no-wrap deprecation
2010-11-01 20:57:43 -04:00
Jeremy Ashkenas
a4be3bceec
Merge branch 'master' of git://github.com/TrevorBurnham/coffee-script
2010-11-01 20:53:49 -04:00
Jeremy Ashkenas
195ca70278
tweaks to eval-fix
2010-10-30 17:35:54 -04:00
Trevor Burnham
776b1b723e
Fixing --eval; see issue 820
2010-10-28 22:18:11 -04:00
Trevor Burnham
baef719908
Accepting --no-wrap, with a warning
2010-10-28 12:22:33 -04:00
Jeremy Ashkenas
6b4e437c93
CoffeeScript now compiled 'undefined' as 'void 0'
2010-10-27 22:50:20 -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
Jeremy Ashkenas
6347849cd0
Switching parenthesized side in comprehensions.
2010-10-24 14:11:09 -04:00
Jeremy Ashkenas
26a115adcf
Removing the mixed-in sys/util module. Switching from 'puts' to console.log
2010-10-24 12:48:42 -04:00
Timothy Jones
99deb8c670
Wrapping only the last line of comprehensions, allowing pure statements anywhere in between.
2010-10-24 18:36:23 +13: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
satyr
53fbfc7d15
removed extra parens from in/return compilations
2010-10-21 07:19:08 +09:00
satyr
c1dc74fc8b
removed extra parens from compilations with assignments or conditional operators
2010-10-21 02:29:06 +09:00
Jeremy Ashkenas
54d9b283fa
Merge branch 'master' of http://github.com/stephank/coffee-script
2010-10-19 21:52:39 -04: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
Stéphan Kochen
c458346593
In compileScripts, run base through path.join.
...
Allows `path.join` to do some processing on the base path
that was also happening on the full path.
Fixes: `coffee -o ./ ./`
Still broken: `coffee -o . .`
2010-10-19 18:36:27 +02:00
Stéphan Kochen
e5dfa19ec9
Report errors when writing files in coffee.
2010-10-19 18:30:29 +02:00
Timothy Jones
cf5a086263
Removing accidental superfluous temp variables.
2010-10-20 04:07:10 +13:00
Timothy Jones
d14ba6ac53
Fixed comprehension magic's scoping.
2010-10-20 03:59:01 +13:00
Timothy Jones
7b1902183c
Just catch alls for inner scoping now.
2010-10-20 03:53:38 +13:00
Timothy Jones
cb6be74851
Fixing for magic scoping issues. Small steps at a time.
2010-10-20 02:51:52 +13:00