Jeremy Ashkenas
|
c67e7fbcea
|
moving nodes.coffee over to use Tesco's new auto-setter style.
|
2010-07-28 19:34:02 -04:00 |
|
Jeremy Ashkenas
|
a80d8d55c4
|
merging tesco's branch for issue #535
|
2010-07-28 07:34:28 -04:00 |
|
Timothy Jones
|
9026069f79
|
Support for @-prefixed splats.
|
2010-07-28 18:17:50 +12:00 |
|
Timothy Jones
|
c9421cbfcd
|
Implement @-prefixed parameters.
|
2010-07-28 17:54:36 +12:00 |
|
Jeremy Ashkenas
|
9d1fd38b69
|
removing extraneous tempvar declarations from range generation by re-ordering...
|
2010-07-27 23:39:28 -04:00 |
|
Jeremy Ashkenas
|
a4156b71fa
|
fixing broken range literal expansions.
|
2010-07-27 23:06:11 -04:00 |
|
Jeremy Ashkenas
|
a59df2cf74
|
merged in evilpie's fix for faster small range comprehensions
|
2010-07-27 23:00:26 -04:00 |
|
Jeremy Ashkenas
|
051a863ff5
|
adding slightly optimized syntax for range comprehensions that could care less about the index variable. Issue #547
|
2010-07-27 22:38:38 -04:00 |
|
Jeremy Ashkenas
|
8d544ce80b
|
Adding anonymous class support (gets a temporary variable for a name.) Issue #548
|
2010-07-27 22:05:55 -04:00 |
|
Jeremy Ashkenas
|
b4ef4a9e28
|
make the compiler use 'obj = or default' for default values.
|
2010-07-26 23:58:06 -04:00 |
|
Jeremy Ashkenas
|
89cd25ab15
|
finished moving over string and regex interpolation to use '#' instead of '$', Issue #544
|
2010-07-26 23:31:55 -04:00 |
|
Jeremy Ashkenas
|
d624310be1
|
waypoint commit with both # and $ performing interpolation. Issue #544
|
2010-07-26 23:08:09 -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
|
d1ffffab04
|
Using an experimental version of new optional-brace object literals.
|
2010-07-24 23:42:37 -07:00 |
|
Jeremy Ashkenas
|
f9dff6ffc4
|
added and= and or= to the language.
|
2010-07-24 22:36:50 -07:00 |
|
Jeremy Ashkenas
|
88847df70b
|
tests are now passing on symbology
|
2010-07-24 22:23:37 -07:00 |
|
Jeremy Ashkenas
|
5c85bf22bb
|
converted nodes.coffee. a big step
|
2010-07-24 18:21:25 -07:00 |
|
Tom
|
527af3b69f
|
simplfy generated code for static ranges
|
2010-07-25 00:49:15 +02:00 |
|
Jeremy Ashkenas
|
6b6beb588c
|
optimizing the output of compiled splat arguments.
|
2010-07-24 12:40:36 -07:00 |
|
Jeremy Ashkenas
|
dc1288d319
|
slightly optimizing return values of AssignNodes. Issue #539
|
2010-07-24 12:27:11 -07:00 |
|
Jeremy Ashkenas
|
87226b6f44
|
fixing bound functions with an __bind helper.
|
2010-07-24 12:12:26 -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
|
93d77e2354
|
_this to __this, for consistency. (StanAngeloff)
|
2010-07-24 08:11:42 -07:00 |
|
Jeremy Ashkenas
|
85ed376748
|
adding correct semicolons to bound functions
|
2010-07-24 00:45:00 -07:00 |
|
Jeremy Ashkenas
|
e41abe2d83
|
Changing implementation of bound functions to mirror sethaurus' suggestion for cleaner output. Issue #530. Tests pass.
|
2010-07-23 22:34:56 -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
|
8262070f5c
|
fixing extra spaces in nested empty functions. Issue #527
|
2010-07-22 14:08:07 -07:00 |
|
Jeremy Ashkenas
|
9c4164e7a3
|
removing unnecessary parens from the setup part of a range comprehension. Issue #528
|
2010-07-22 10:37:13 -07:00 |
|
Sam Stephenson
|
5678bf10fd
|
class B extends A calls A.extended(B)
|
2010-07-18 14:22:26 -05:00 |
|
Jeremy Ashkenas
|
5a34f53689
|
enhancements to range comprehensions, back to being safe -- and usable downwards without a 'by' clause, and optimized when working with integer literals.
|
2010-07-17 18:45:29 -04:00 |
|
Jeremy Ashkenas
|
96f076983e
|
Reserving __hasProp and friends, for safety's sake.
|
2010-07-17 17:30:10 -04: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
|
b810d10e80
|
Fixing Issue #506. existential chains should force parentheses in the presense of a compiled ternary operator.
|
2010-07-15 21:38:35 -04: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
|
2a932597e4
|
fixing existential chains directly against a 'new Func()' call. Issue #503
|
2010-07-15 09:08:51 -04:00 |
|
Jeremy Ashkenas
|
0b87387fab
|
slightly nicer implementation of SplatNode.compileSplattedArray
|
2010-07-13 22:16:19 -04:00 |
|
Jeremy Ashkenas
|
8c34aff1c5
|
Fixing issue #495 ... options wasn't being passed down in ArrayNode#compileSplatLiteral
|
2010-07-13 21:51:27 -04:00 |
|
Jeremy Ashkenas
|
c3410e722e
|
(cosmetic) removing occasional extra linebreaks in JS generated from class definitions.
|
2010-07-12 22:51:10 -04:00 |
|
Jeremy Ashkenas
|
534e2a25de
|
enabling a variable number of arguments to be passed to constructor functions.
|
2010-07-12 22:42:21 -04:00 |
|
Jeremy Ashkenas
|
49020208f9
|
better printing for OpNodes with running with --nodes
|
2010-07-10 11:17:44 -04:00 |
|
Jeremy Ashkenas
|
6f32fe27f8
|
better formatting for top-level closured-values.
|
2010-07-10 09:49:01 -04:00 |
|
Jeremy Ashkenas
|
7a16db9ad3
|
fixing inline-loop object-in-array tests for instance variables. Issue #481
|
2010-07-10 09:01:22 -04:00 |
|
Jeremy Ashkenas
|
64b5ccc524
|
Fixes issue #477, missing global helpers in REPL.
|
2010-07-09 01:01:31 -04:00 |
|
Jeremy Ashkenas
|
358edfb21f
|
fixing return node squashing the possiblity of a ternary, when there should be one. Issue #475
|
2010-07-06 23:04:35 -04:00 |
|
Jeremy Ashkenas
|
92878558c6
|
fixing improper formatting in range-to-array expansion.
|
2010-07-03 17:00:30 -04:00 |
|
Jeremy Ashkenas
|
ec449158c6
|
fixing improperly-formatted-output of pattern matching within comprehension arguments.
|
2010-07-03 15:09:21 -04:00 |
|
Jeremy Ashkenas
|
77a75ed365
|
adding passed-through block comments back to the grammar/lexer/rewriter/nodes ... thanks, Trevor Burnham.
|
2010-07-01 21:26:33 -04:00 |
|
Jeremy Ashkenas
|
9a8a707016
|
throw a syntax error if you try to use the fat arrow to define a class constructor.
|
2010-06-30 22:03:20 -04:00 |
|
Jeremy Ashkenas
|
7a5f014014
|
fixing closurenode wrapping of bodies with bound function declarations inside -- this doesn't have to be mentioned explicitly.
|
2010-06-30 21:54:16 -04:00 |
|