Jeremy Ashkenas
|
9c4164e7a3
|
removing unnecessary parens from the setup part of a range comprehension. Issue #528
|
2010-07-22 10:37:13 -07:00 |
|
Jeremy Ashkenas
|
ff88482034
|
fixing regex-interpolation-sans-flags issue.
|
2010-07-21 10:32:36 -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
|
1c7d51a2c4
|
fixing issue #485, unary minus following an existential operator.
|
2010-07-10 11:27:43 -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 |
|
Jeremy Ashkenas
|
7c426db36a
|
fixing range literals (which had gone untested) oops.
|
2010-06-28 20:26:31 -04:00 |
|
Jeremy Ashkenas
|
08ab4abd43
|
removing obvious redundant parentheses.
|
2010-06-27 23:55:18 -04:00 |
|
Jeremy Ashkenas
|
af3b356d70
|
fixing an improper-js-output bug when using a loop-compiled inarray clause as part of a larger expression
|
2010-06-27 13:27:51 -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
|
0fcfb80be4
|
switching 'a in b' to 'a of b', and adding an array presence check for 'a in b'.
|
2010-06-21 23:51:12 -04:00 |
|
Dan Holmsand
|
6bc7b56e6e
|
Make sure variables named e.g. "constructor" are declared with var
|
2010-06-16 12:54:53 +02:00 |
|
Jeremy Ashkenas
|
06ca2ef726
|
more streamlined code generation for instance-bound methods ... keep the prototype method around, and just bind it in the constructor.
|
2010-06-15 02:21:01 -04:00 |
|
Jeremy Ashkenas
|
8d853a6d58
|
adding the ability to have classes with functions pre-bound to the instance, using the fat arrow, and the constructor-function-definition pattern, avoiding prototypes.
|
2010-06-15 01:28:30 -04:00 |
|
Jeremy Ashkenas
|
de768aefc3
|
a bit more work on keywords-in-object-literals...
|
2010-06-15 01:03:14 -04:00 |
|
Jeremy Ashkenas
|
4b284f6687
|
first draft at ticket #437 ... automatic quoting of reserved words and keywords.
|
2010-06-15 00:54:02 -04:00 |
|
Jeremy Ashkenas
|
d0948e5586
|
fixing comprehensions to also close over the index variable, if used in an inner function...
|
2010-06-13 21:43:04 -04:00 |
|
Jeremy Ashkenas
|
b0a45e5b93
|
Ticket #423. When functions are generated within comprehensions ... the comprehensions should close over the element instead of sharing it.
|
2010-06-13 21:21:30 -04:00 |
|
Jeremy Ashkenas
|
6f91331626
|
slight refactor to IfNode::ensureExpressions
|
2010-06-13 18:04:09 -04:00 |
|
Jeremy Ashkenas
|
4ecb1bb2ed
|
switching to 'Compiled' messages after the code has finished compiling on --watch ...
|
2010-06-13 14:21:02 -04:00 |
|
Jeremy Ashkenas
|
5612a59b30
|
allowing implicit returns to be pushed down into each branch of computation, even when there's an explicit return nested more deeply. Issue #401
|
2010-06-13 01:13:52 -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
|
c2d1ae06c5
|
removing the <- bind operator from CoffeeScript...
|
2010-06-12 11:00:56 -04:00 |
|
Jeremy Ashkenas
|
c5fd64c72a
|
allowing direct calls against numbers.
|
2010-05-31 22:56:51 -04:00 |
|
Jeremy Ashkenas
|
45f442bd73
|
allowing Klass::['dynamic-property'] syntax. Issue #392
|
2010-05-31 22:32:43 -04:00 |
|
Jeremy Ashkenas
|
b8a4adbdc7
|
whitespace adjustments
|
2010-05-31 19:54:28 -04:00 |
|
Jeremy Ashkenas
|
7402aea9f2
|
cleaner generated code for range comprehensions, but you have to use an explicit step to go downwards. Forked the code path for cleaner range literals as well.
|
2010-05-31 19:38:45 -04:00 |
|
Jeremy Ashkenas
|
12587d8295
|
reworking Stan's nodes.coffee type/children work a bit for issue 386
|
2010-05-31 10:36:50 -04:00 |
|
Stan Angeloff
|
e17bb4ff11
|
FIXES #397: Can't use @variable in switch in instance method
|
2010-05-26 21:58:11 +03:00 |
|
Stan Angeloff
|
aba19841ee
|
FIXES #390: super() calls in constructor of classes that are defined as object properties
|
2010-05-25 09:15:46 +03:00 |
|
Stan Angeloff
|
4c3271728d
|
OOP love for nodes.coffee
|
2010-05-19 23:24:55 +03:00 |
|
Stan Angeloff
|
57231ae75d
|
Merging type, children and statement functions
|
2010-05-19 22:53:05 +03:00 |
|
Stan Angeloff
|
97c2a70593
|
Baby steps fixing #386
|
2010-05-19 22:37:42 +03:00 |
|