Jeremy Ashkenas
|
5e7f5f390a
|
adding a traverse method to the AST, so we can do fancy processing from external scripts.
|
2010-02-27 01:22:21 -05:00 |
|
Jeremy Ashkenas
|
d2d5f649d3
|
caching the length property lookup for vanilla array comprehensions and rebuilding docs
|
2010-02-25 23:39:14 -05:00 |
|
Jeremy Ashkenas
|
4ed51536bb
|
fixing patternmatched assigns within assigns within calls
|
2010-02-25 07:28:48 -05:00 |
|
Jeremy Ashkenas
|
69feac3a01
|
adding return values for destructuring assignment.
|
2010-02-25 00:43:02 -05:00 |
|
Jeremy Ashkenas
|
c14869f008
|
implementing the inline javascript in the documentation page in text/coffeescript, switching from the closure compiler to the yui compressor for building the browser version -- the closure compiler had a bug for our input -- fixable by hand but not worth the tiny savings
|
2010-02-24 20:41:56 -05:00 |
|
Jeremy Ashkenas
|
9f8710b631
|
adding compilation over stdin/stdout. Use --stdio or -s, and pipe away.
|
2010-02-24 18:18:29 -05:00 |
|
Jeremy Ashkenas
|
10d335ccb1
|
adding existence soaks for indexed-lookup property accesses: obj?['property']
|
2010-02-24 00:06:01 -05:00 |
|
Jeremy Ashkenas
|
4eeb8c4bd2
|
adding conditional while loops with while ... when
|
2010-02-23 22:53:43 -05:00 |
|
Jeremy Ashkenas
|
5cd8f2c52c
|
Merge branch 'master' of git://github.com/Tim-Smart/coffee-script
|
2010-02-23 20:51:29 -05:00 |
|
Jeremy Ashkenas
|
5a1aa44393
|
going back to == undefined instead of == null to appease the angry JSLint.
|
2010-02-22 22:19:17 -05:00 |
|
Tim
|
432696d6eb
|
nodes.coffee: ForNode: Small whitespace change in for_part
|
2010-02-22 20:19:00 -07:00 |
|
Jeremy Ashkenas
|
3df7bd98f4
|
fixing issue 196, better handling of soak/existence chains
|
2010-02-22 22:11:47 -05:00 |
|
Chris Hoffman
|
fdffacfb40
|
Make trailing else on switch fix pass on to multiple when switches
|
2010-02-22 19:17:54 -06:00 |
|
Jeremy Ashkenas
|
a64afe6162
|
fixing the trailing-else-in-switch-getting-sucked-in-bug, Issue 195.
|
2010-02-22 19:22:09 -05:00 |
|
Jeremy Ashkenas
|
5d893947ea
|
new version of the docs for 0.5.0 is done, or close to it.
|
2010-02-21 17:30:41 -05:00 |
|
Jeremy Ashkenas
|
dbe5328c33
|
removing the 'var' declaration from arguments-to-array conversions
|
2010-02-21 16:15:01 -05:00 |
|
Jeremy Ashkenas
|
0f2a2ee11e
|
Improving soaks to avoid uncessesary parentheses.
|
2010-02-20 20:00:07 -05:00 |
|
Jeremy Ashkenas
|
a93229b14d
|
fixing an off-by-one error in Splat compilation
|
2010-02-20 18:25:36 -05:00 |
|
Jeremy Ashkenas
|
dd753d3b78
|
Removing the notion of a ThisNode so that we don't have to worry about the special cases. Fixes Issue 180
|
2010-02-19 07:51:52 -05:00 |
|
Jeremy Ashkenas
|
0270e48a01
|
using '== null' to check for soaked accessor chains instead of '== undefined' -- shorter, and slightly safer
|
2010-02-18 21:04:41 -05:00 |
|
Jeremy Ashkenas
|
a278d8f018
|
adding an extra pair of braces to the code produced by object comprehensions, so as to squeak by in JSLint's good graces
|
2010-02-18 20:22:53 -05:00 |
|
Jeremy Ashkenas
|
dec9950649
|
Revert "namespacing CoffeeScript in the browser, and sniffing the 'require' function instead of the 'exports' object"
This reverts commit 2f6b69b580.
|
2010-02-17 23:22:05 -05:00 |
|
Jeremy Ashkenas
|
2f6b69b580
|
namespacing CoffeeScript in the browser, and sniffing the 'require' function instead of the 'exports' object
|
2010-02-17 23:15:37 -05:00 |
|
Jeremy Ashkenas
|
87e60dccf0
|
starting to cache fancy switch values -- fixing issue #171
|
2010-02-17 21:23:59 -05:00 |
|
Jeremy Ashkenas
|
2b5d596e10
|
allowing parenthetical nodes to wrap statements without necessarily expression-izing them -- tests are passing ... we'll see how this works in practice.
|
2010-02-17 19:19:51 -05:00 |
|
Jeremy Ashkenas
|
5a81fcd42e
|
we don't need relative require's because the paths are set up correctly -- removing the unused runner.coffee script
|
2010-02-17 00:50:08 -05:00 |
|
Jeremy Ashkenas
|
0610e20a3c
|
fixing the extends keyword when the expressions are complex, and should only be run once -- not that it's good style -- ticket #143
|
2010-02-16 23:23:43 -05:00 |
|
Jeremy Ashkenas
|
495ca64c46
|
removing underscore as a dependency for nodes.coffee -- let's be minimal
|
2010-02-16 18:38:03 -05:00 |
|
Jeremy Ashkenas
|
79fa4723ab
|
use a temp var for range expansion, instead of 'i'
|
2010-02-16 08:58:29 -05:00 |
|
Jeremy Ashkenas
|
63c2b2bc64
|
adding paren wrappers for property accesses directly on object literals
|
2010-02-15 19:13:08 -05:00 |
|
Jeremy Ashkenas
|
7667e16732
|
implementing grayrest's suggested cleanup for object comprehensions
|
2010-02-14 17:35:14 -05:00 |
|
Jeremy Ashkenas
|
a90bf75395
|
got coffeescript compiling in the browser
|
2010-02-13 15:25:04 -05:00 |
|
Jeremy Ashkenas
|
4bad3e0f4f
|
nicer --tree printing, with values inlines to the right
|
2010-02-13 09:51:52 -05:00 |
|
Jeremy Ashkenas
|
8147ef554a
|
after correctly recording objectnode's children, bin/node_coffee --tree is working pretty nicely
|
2010-02-13 09:46:07 -05:00 |
|
Jeremy Ashkenas
|
785c4fb5a0
|
recording else_body as a child of IfNode, when added after the face
|
2010-02-13 09:44:12 -05:00 |
|
Jeremy Ashkenas
|
a62923ff97
|
use Underscore's flatten -- start to make a nicer tree printer
|
2010-02-13 09:13:50 -05:00 |
|
Jeremy Ashkenas
|
dd6be80fca
|
Use _.extend instead of the hand-rolled merge
|
2010-02-13 08:50:29 -05:00 |
|
Jeremy Ashkenas
|
8c077f0f65
|
using underscore's clone() for code generation
|
2010-02-13 02:32:17 -05:00 |
|
Jeremy Ashkenas
|
2c4c4cc93e
|
using Underscore's compact in the code generation, insstead of our home-rolled one.
|
2010-02-13 02:30:47 -05:00 |
|
Jeremy Ashkenas
|
1ab3b183a8
|
Using underscore for an any() function.
|
2010-02-13 02:29:37 -05:00 |
|
Jeremy Ashkenas
|
b965fcf32d
|
The moment of truth: CoffeeScript has now compiled itself ten times over.
|
2010-02-13 01:13:08 -05:00 |
|
Jeremy Ashkenas
|
0f26072ad0
|
alright, really fixing the comments this time
|
2010-02-13 00:28:16 -05:00 |
|
Jeremy Ashkenas
|
dc9cec2611
|
fixing object/comment printing
|
2010-02-13 00:24:26 -05:00 |
|
Jeremy Ashkenas
|
d61aaf393a
|
little further
|
2010-02-12 17:31:23 -05:00 |
|
Jeremy Ashkenas
|
19c44c9b62
|
self-compiling the arguments test
|
2010-02-12 16:44:29 -05:00 |
|
Jeremy Ashkenas
|
156a0b13d9
|
self-compiling closures as expressions
|
2010-02-12 14:26:01 -05:00 |
|
Jeremy Ashkenas
|
61a7f7a567
|
self-compiling the existential operator
|
2010-02-12 14:15:14 -05:00 |
|
Jeremy Ashkenas
|
dbcb9df22b
|
correctly self-compiling @references
|
2010-02-12 13:56:58 -05:00 |
|
Jeremy Ashkenas
|
e2ad1190ac
|
Array comprehensions are alive and well on the self-compiler
|
2010-02-12 13:52:57 -05:00 |
|
Jeremy Ashkenas
|
c0f9058f15
|
range comprehensions are working smooth
|
2010-02-12 13:51:44 -05:00 |
|