Jeremy Ashkenas
|
914ba1c244
|
removing commented-out bit
|
2010-01-12 18:01:12 -05:00 |
|
Jeremy Ashkenas
|
844ea33274
|
mistaken commit
|
2010-01-12 17:45:06 -05:00 |
|
Jeremy Ashkenas
|
87e04e9952
|
nicer syntax error messages for newlines and indentation
|
2010-01-12 17:44:37 -05:00 |
|
Jeremy Ashkenas
|
cfa357cbc3
|
CoffeeScript 0.2.3, with 'of', not 'ino'
|
2010-01-11 00:01:16 -05:00 |
|
Jeremy Ashkenas
|
ad18378f7e
|
adding '::' as shorthand for '.prototype.'
|
2010-01-10 16:16:59 -05:00 |
|
Jeremy Ashkenas
|
902febb43a
|
big commit -- adding back object comprehensions, using 'ino', versus 'in' for array comprehensions, fixing bug with dollar signs in identifiers
|
2010-01-10 15:52:23 -05:00 |
|
Jeremy Ashkenas
|
8e3922b6c6
|
allowing comments in the middle of switch statements
|
2010-01-09 13:25:44 -05:00 |
|
Jeremy Ashkenas
|
ae58e2ec6c
|
adding body-less while expressions
|
2010-01-09 11:51:32 -05:00 |
|
Jeremy Ashkenas
|
fbcdc12a9c
|
adding empty return statements -- they return null
|
2010-01-06 21:21:42 -05:00 |
|
Jeremy Ashkenas
|
de49465dc6
|
comments
|
2010-01-06 01:27:58 -05:00 |
|
Jeremy Ashkenas
|
4fc40e4841
|
adding the 'in' operator
|
2010-01-05 23:29:43 -05:00 |
|
Jeremy Ashkenas
|
001e42b85c
|
fixing range literals by making them values, not expressions, and adding tests
|
2010-01-05 22:49:51 -05:00 |
|
Jeremy Ashkenas
|
c2bb93b5f8
|
ellipsis is the new splat
|
2010-01-05 21:40:36 -05:00 |
|
Jeremy Ashkenas
|
5fe419b1ce
|
automatic conversion of arguments into arrays
|
2010-01-05 09:10:45 -05:00 |
|
Jeremy Ashkenas
|
ae603749be
|
adding the complete underscore.coffee example to the docs
|
2010-01-04 22:51:02 -05:00 |
|
Jeremy Ashkenas
|
6e63a18f86
|
first pass at 0.2.0 docs
|
2010-01-04 22:19:45 -05:00 |
|
Jeremy Ashkenas
|
672dd70bdb
|
more underscore examples raised a slight bug with a lexing ambiguity between leading whens (in switches), and trailing whens (in comprehensions) -- made two different tokens to distinguish them
|
2010-01-03 22:25:38 -05:00 |
|
Jeremy Ashkenas
|
3724778989
|
lowering the precedence of if/else/while
|
2010-01-03 18:11:53 -05:00 |
|
Jeremy Ashkenas
|
099944e0aa
|
All execution tests are now passing with statements everywhere
|
2010-01-03 15:59:33 -05:00 |
|
Jeremy Ashkenas
|
78c4957ba8
|
first rough rough rough draft of kamatsu's closure suggestion -- test.coffee runs, but probably nothing else
|
2010-01-03 13:59:17 -05:00 |
|
Jeremy Ashkenas
|
ba3c5298f7
|
adding a block test and using PARAM_SPLAT to remove the last shift/reduce conflict
|
2010-01-03 10:46:37 -05:00 |
|
Jeremy Ashkenas
|
21a0cc83ae
|
Adding kamatsu's proposed block literal syntax
|
2010-01-03 10:19:39 -05:00 |
|
Jeremy Ashkenas
|
ff80f8d423
|
adding the notion of existence -- postfixing an expression with a question mark will check if to see if it's not null or undefined
|
2010-01-01 12:31:05 -05:00 |
|
Jeremy Ashkenas
|
0f81dbe913
|
adding steps to range comprehensions
|
2010-01-01 11:54:59 -05:00 |
|
Jeremy Ashkenas
|
e30a267c9d
|
fixing precedence order, so that you can nest range comprehensions
|
2010-01-01 11:19:57 -05:00 |
|
Jeremy Ashkenas
|
a93a570603
|
allowing indentation within function calls
|
2010-01-01 10:38:28 -05:00 |
|
Jeremy Ashkenas
|
caf9d627cb
|
allowing expressions within range literals
|
2010-01-01 10:15:22 -05:00 |
|
Jeremy Ashkenas
|
409283a30f
|
adding splats as arguments to function calls
|
2009-12-31 19:52:13 -05:00 |
|
Jeremy Ashkenas
|
1d2bb3b2be
|
adding splats to function definitions
|
2009-12-31 17:50:12 -05:00 |
|
Jeremy Ashkenas
|
dba8439425
|
the underscore example parses now -- added line number information to parenthetical nodes
|
2009-12-30 21:44:51 -05:00 |
|
Jeremy Ashkenas
|
cd68f02981
|
big milestone. examples/code.coffee now compiles correctly under the new whitespace regime
|
2009-12-30 18:59:33 -05:00 |
|
Jeremy Ashkenas
|
62c51006a1
|
removed the final shift/reduce errors -- back to zero for the first time in a long time
|
2009-12-30 17:45:47 -05:00 |
|
Jeremy Ashkenas
|
9a946d2ac5
|
execution tests still pass -- more lexer block insertion and 2 shift/reduces in the grammar now
|
2009-12-30 15:52:07 -05:00 |
|
Jeremy Ashkenas
|
f93e552cb3
|
fixin up narwhal factory and adding more implicit blocks to the lexer
|
2009-12-30 14:32:59 -05:00 |
|
Jeremy Ashkenas
|
6ddd808f74
|
removing dots from whitespace examples
|
2009-12-30 00:22:27 -05:00 |
|
Jeremy Ashkenas
|
541291e2f3
|
whitespace parser down to 4 shift/reduce errors -- good enough for me
|
2009-12-29 21:46:15 -05:00 |
|
Jeremy Ashkenas
|
f5aafc6591
|
don't break trailing commas with rewrite_closing_parens
|
2009-12-29 10:20:18 -05:00 |
|
Jeremy Ashkenas
|
ae112d6087
|
changing array comprehension filters from 'where' to 'when' to mirror case/when
|
2009-12-29 09:55:37 -05:00 |
|
Jeremy Ashkenas
|
a3129e05ae
|
allowing indentation in object and array literals
|
2009-12-29 09:25:56 -05:00 |
|
Jeremy Ashkenas
|
3fbb870d01
|
using 'where' for array comprehension filtering, after kamatsu's suggestion -- execution tests pass now with significant whitespace
|
2009-12-29 08:52:26 -05:00 |
|
Jeremy Ashkenas
|
cea417de02
|
moving along with whitespace
|
2009-12-28 23:08:02 -05:00 |
|
Jeremy Ashkenas
|
50bdd2668c
|
got lexer balancing parens, indent/outdents, brackets, and curlies
|
2009-12-28 21:02:40 -05:00 |
|
Jeremy Ashkenas
|
bb84a982ce
|
merging in master
|
2009-12-28 20:06:23 -05:00 |
|
Jeremy Ashkenas
|
aa45456d7d
|
part of the way to supporting multiline array comprehensions -- the grammar and parsing is there -- the code generation is tricky
|
2009-12-27 21:50:02 -08:00 |
|
Jeremy Ashkenas
|
b4250c0f02
|
that's it for now for significant whitespace -- I really just can't make flexible enough
|
2009-12-26 19:29:59 -08:00 |
|
Jeremy Ashkenas
|
556f8cb68a
|
little more progress on whitespace
|
2009-12-26 10:49:11 -08:00 |
|
Jeremy Ashkenas
|
5bed5646be
|
merging in master
|
2009-12-26 09:59:06 -08:00 |
|
Jeremy Ashkenas
|
ff78546465
|
added array comprehensions over ranges
|
2009-12-26 00:16:40 -08:00 |
|
Jeremy Ashkenas
|
adaae0ccae
|
major internal reworking -- all variable declarations have been pushed up to the first line of the block scope -- all assignment is now an inherent expression
|
2009-12-25 22:57:33 -08:00 |
|
Jeremy Ashkenas
|
1ba7c77136
|
reorganizing test fixtures and adding range literals for array slices
|
2009-12-25 16:20:28 -08:00 |
|