Jeremy Ashkenas
|
60b3103314
|
using granular helper imports, for nicer within.
|
2010-03-14 14:58:32 -07:00 |
|
Jeremy Ashkenas
|
75ffb9dc84
|
stop mixing in helpers (t(ticket #250) -- with a test
|
2010-03-14 14:48:43 -07:00 |
|
gfxmonk
|
5809a1637f
|
fixed non-recursive traverse() for CodeNode
|
2010-03-14 00:05:51 +11:00 |
|
Jeremy Ashkenas
|
3c597dde72
|
no need to save the lookups
|
2010-03-10 22:32:00 -05:00 |
|
Jeremy Ashkenas
|
0379431812
|
tweaks
|
2010-03-10 21:53:33 -05:00 |
|
Jeremy Ashkenas
|
3f9fd85afb
|
removing the unused CallNode#push
|
2010-03-10 20:53:31 -05:00 |
|
Jeremy Ashkenas
|
7b0a235c71
|
removing the nearly-unused notion of 'operation sensitive'
|
2010-03-10 20:19:32 -05:00 |
|
Jeremy Ashkenas
|
55cac23976
|
fixing indentation for prefix while nodes
|
2010-03-10 20:15:12 -05:00 |
|
Jeremy Ashkenas
|
f2d0aee656
|
added Stan's fix for try/finally without catch
|
2010-03-10 16:27:30 -05:00 |
|
Jeremy Ashkenas
|
3d14d362a8
|
first draft of CoffeeScript language extensions.
|
2010-03-09 23:04:16 -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 |
|
Jeremy Ashkenas
|
b5af5f66fb
|
more regexp and string interpolation tweaks
|
2010-03-08 21:34:10 -05:00 |
|
Stan Angeloff
|
81af8f296e
|
Regular expression interpolations; fixed bug in string interpolations when all tokens were identifiers.
|
2010-03-08 20:06:51 +02:00 |
|
Jeremy Ashkenas
|
b0aec3cbe2
|
Finishing off the docs for nodes.coffee -- almost ready to roll.
|
2010-03-08 05:42:57 -05:00 |
|
Jeremy Ashkenas
|
5f5e0634dd
|
making ThrowNode not a pure_statement -- it can jump out of the closure just fine
|
2010-03-08 05:19:48 -05:00 |
|
Jeremy Ashkenas
|
9eceab667c
|
broke the flag for --no-wrap, fixed.
|
2010-03-08 04:28:26 -05:00 |
|
Jeremy Ashkenas
|
71ace9d8d0
|
allowing naked interpolation of dotted properties. .property
|
2010-03-07 22:26:25 -05:00 |
|
Jeremy Ashkenas
|
0bc7719572
|
merging in Zaach's Jison updates
|
2010-03-07 19:11:03 -05:00 |
|
Jeremy Ashkenas
|
c6d7a27848
|
waypoint on the documentation -- almost halfway through the nodes
|
2010-03-07 17:31:39 -05:00 |
|
Jeremy Ashkenas
|
094b198d5d
|
first little bit of commenting the nodes.coffee -- with some slight refactors
|
2010-03-07 16:41:06 -05:00 |
|
Jeremy Ashkenas
|
18e5f72a84
|
done converting nodes.coffee code generation to use string interpolation where appropriate
|
2010-03-06 00:23:54 -05:00 |
|
Jeremy Ashkenas
|
b4ea43cbd0
|
waypoint -- starting to implement nodes.coffee with interpolations, and fixing/shortening/combining the lexer implementation to allow identifier interpolations to be interleaved with expression interps
|
2010-03-05 22:52:28 -05:00 |
|
Jeremy Ashkenas
|
fec2eaef7e
|
removing the (now-unused) inherits helper, and adding a helper for creating LiteralNodes
|
2010-02-28 00:22:06 -05:00 |
|
Jeremy Ashkenas
|
56eb474bf3
|
If you don't specify a constructor, one will be provided for you by the state.
|
2010-02-28 00:13:17 -05:00 |
|
Jeremy Ashkenas
|
9f46c306e5
|
super is now possible in nodes/Expressions, where it wasn't possible before.
|
2010-02-27 19:42:10 -05:00 |
|
Jeremy Ashkenas
|
d2cb1f321e
|
making sure that the body of extends only gets defined once per file.
|
2010-02-27 19:29:34 -05:00 |
|
Jeremy Ashkenas
|
8f871a8218
|
converting the nodes.coffee AST to use the new class system
|
2010-02-27 19:19:53 -05:00 |
|
Jeremy Ashkenas
|
4ec7514d10
|
making inner comments work within class definitions
|
2010-02-27 19:03:23 -05:00 |
|
Jeremy Ashkenas
|
1c7e4c4203
|
first draft of adding classes to CoffeeScript
|
2010-02-27 18:57:45 -05:00 |
|
Jeremy Ashkenas
|
7d39fe1c56
|
fixing multiple evaluation of splat sources, when it's an invoked function
|
2010-02-27 15:15:26 -05:00 |
|
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
|
2a46e13d33
|
moving print_tokens (the pretty printer) from coffee_script to command_line
|
2010-02-24 18:56:32 -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
|
8db0cb9fa5
|
rebuilding with new for spacing
|
2010-02-23 21:12:44 -05:00 |
|
Jeremy Ashkenas
|
52db4fbf8c
|
merging Tim-Smart's branch
|
2010-02-23 20:52:03 -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 |
|
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 |
|