Jeremy Ashkenas
|
a3c8c0b492
|
allowing keywords as identifiers, when used as identifiers, because we've got more keywords than JavaScript does.
|
2010-02-16 08:43:58 -05:00 |
|
Jeremy Ashkenas
|
fa63288f52
|
fixed the while-loop-condition-with-implicit-function-call bug
|
2010-02-15 23:05:54 -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
|
e7291f57ba
|
fixing allowing empty functions like () ->
|
2010-02-15 18:03:00 -05:00 |
|
Jeremy Ashkenas
|
506ea8aa52
|
adding an if/else/chain test
|
2010-02-13 02:00:39 -05:00 |
|
Jeremy Ashkenas
|
1a6194e9f0
|
self-compiling switch statements
|
2010-02-12 16:23:52 -05:00 |
|
Jeremy Ashkenas
|
e883a559ca
|
uncomment test
|
2010-02-11 02:41:24 -05:00 |
|
Jeremy Ashkenas
|
713f6f32e1
|
done for now
|
2010-02-11 02:39:57 -05:00 |
|
Jeremy Ashkenas
|
c6a6788694
|
removing the constructor safety check -- it wasn't safe enough (Issue 36)
|
2010-02-09 07:59:48 -05:00 |
|
Jeremy Ashkenas
|
78a4974de9
|
allowing numbers to be used as object keys
|
2010-02-08 11:48:43 -05:00 |
|
Jeremy Ashkenas
|
7ec0a8d653
|
merging node into master -- you can now pass the --narwhal flag to use narwhal instead. All tests are executing successfully against both Node.js and Narwhal/Rhino backends
|
2010-02-07 12:52:07 -05:00 |
|
Jeremy Ashkenas
|
6a59c5c9a9
|
merging master
|
2010-02-06 10:15:03 -05:00 |
|
Jeremy Ashkenas
|
decaea0f5f
|
adding 'by' to array comprehensions
|
2010-02-06 10:12:57 -05:00 |
|
Jeremy Ashkenas
|
96eb7e2339
|
merging master
|
2010-02-05 22:02:11 -05:00 |
|
Jeremy Ashkenas
|
b795ae7fe1
|
removing arguments as a keyword -- we can detect its use at code-generation time.
|
2010-02-05 22:01:11 -05:00 |
|
Jeremy Ashkenas
|
0d56b89d12
|
Merge branch 'master' into node
|
2010-02-03 18:16:43 -05:00 |
|
Jeremy Ashkenas
|
dc7d0f1568
|
fixing assigning to @properties within an expression
|
2010-02-03 18:16:31 -05:00 |
|
Jeremy Ashkenas
|
9b7cfe87b5
|
remove parens
|
2010-02-02 20:44:25 -05:00 |
|
Jeremy Ashkenas
|
1587901367
|
remove parens
|
2010-02-02 20:44:10 -05:00 |
|
Jeremy Ashkenas
|
df670d47d2
|
merging in master
|
2010-02-02 20:38:44 -05:00 |
|
Jeremy Ashkenas
|
cb7a1033fa
|
adding @property for this.property
|
2010-02-02 20:36:46 -05:00 |
|
Jeremy Ashkenas
|
df588bc9e8
|
it's puts in node, not print
|
2010-02-02 10:43:23 -05:00 |
|
Jeremy Ashkenas
|
9648ae2de1
|
merged in master
|
2010-02-02 10:41:19 -05:00 |
|
Jeremy Ashkenas
|
c5c841f2fc
|
fixing bug with mixed dot and soak accessors
|
2010-02-02 10:39:44 -05:00 |
|
Jeremy Ashkenas
|
f5a37035cf
|
node conversion finished, narwhal removed.
|
2010-01-29 23:30:54 -05:00 |
|
Jeremy Ashkenas
|
2f3a94678f
|
fixing instanceof, with a quick test
|
2010-01-27 07:55:40 -05:00 |
|
Jeremy Ashkenas
|
386d3dd307
|
complete implicit functions, I think these are done.
|
2010-01-26 21:15:56 -05:00 |
|
Jeremy Ashkenas
|
aa93d3c387
|
first draft of whitespace-sensitive method calls and indexes.
|
2010-01-26 20:59:52 -05:00 |
|
Jeremy Ashkenas
|
ab4a4a5580
|
make nested implicit indentation just a little bit smarter about outdents and stack levels
|
2010-01-26 14:49:33 -05:00 |
|
Jeremy Ashkenas
|
a9f016e292
|
trying out new arrows for function literals -> is a function, => is a bound function
|
2010-01-26 10:52:05 -05:00 |
|
Jeremy Ashkenas
|
fb7fd53bdf
|
enabling passed functions to fire implicit method calls
|
2010-01-26 02:27:19 -05:00 |
|
Jeremy Ashkenas
|
29e4043f26
|
tests passing with smarter block syntax with optional parens
|
2010-01-26 02:15:08 -05:00 |
|
Jeremy Ashkenas
|
460b3f6d8e
|
first draft of mandatory parentheses around function definition param lists -- all tests pass
|
2010-01-26 00:40:58 -05:00 |
|
Jeremy Ashkenas
|
91e703052c
|
fixing chained single-line if-elses with a smarter rewriter.
|
2010-01-25 20:52:33 -05:00 |
|
Jeremy Ashkenas
|
8d63d269b8
|
making all postfix forms close out implicit calls, as in Ruby
|
2010-01-24 23:56:27 -05:00 |
|
Jeremy Ashkenas
|
a5d39efdd2
|
converted the tests to use optional parentheses -- lot's of little subtleties to work out
|
2010-01-24 23:40:45 -05:00 |
|
Jeremy Ashkenas
|
70e3a6ef2f
|
first draft of optional parentheses, with a couple tests ... more to follow
|
2010-01-24 22:32:06 -05:00 |
|
Jeremy Ashkenas
|
af53a04932
|
added test for lexical scope sharing through generated closure wrappers, something uncommonly used, but that was a regression
|
2010-01-24 13:39:27 -05:00 |
|
Jeremy Ashkenas
|
817e8deb27
|
adding soaked method calls, with caching
|
2010-01-24 12:52:15 -05:00 |
|
Jeremy Ashkenas
|
d728c3d669
|
added existence chains with '?.' -- soaks up attempts to access undefined properties, returning 'undefined'
|
2010-01-23 23:30:55 -05:00 |
|
Jeremy Ashkenas
|
c3ce2ea9b1
|
added automatic safety closure wrapper for functions declared within for loops.
|
2010-01-23 17:53:07 -05:00 |
|
Jeremy Ashkenas
|
791d874058
|
fixing comments as the last line of a block
|
2010-01-20 20:36:31 -05:00 |
|
Jeremy Ashkenas
|
a8ae37a428
|
fixing bug with multiple linebreaks in heredocs
|
2010-01-19 09:49:23 -05:00 |
|
Jeremy Ashkenas
|
4609ad78c2
|
added the first chapter of beautiful code as a coffeescript example
|
2010-01-17 15:36:46 -05:00 |
|
Jeremy Ashkenas
|
8e1f3c0eca
|
generating multiple calls to the same function should use compile_double_reference to ensure a single evaluation of the call itself.
|
2010-01-17 14:23:41 -05:00 |
|
Jeremy Ashkenas
|
c4d0903e6a
|
fixing assignment-in-condition
|
2010-01-17 10:40:59 -05:00 |
|
Jeremy Ashkenas
|
f6c8e81ea6
|
the existential operator can now be used infix as well
|
2010-01-16 23:03:54 -05:00 |
|
Jeremy Ashkenas
|
95b362499f
|
added the conditional existence operator
|
2010-01-16 22:17:55 -05:00 |
|
Jeremy Ashkenas
|
0bc4da2b51
|
ensure that functions are only called once, when chaining comparators
|
2010-01-16 22:04:08 -05:00 |
|
Jeremy Ashkenas
|
9cb0564972
|
added Python's chainable comparisons, like: 10 > 5 > 1
|
2010-01-16 16:37:49 -05:00 |
|