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
|
cc0c92d20d
|
smarter but uglier lexer -- now handles most significant whitespace cases. Clean it up though... (newlines after outdents)
|
2009-12-26 13:22:53 -08:00 |
|
Jeremy Ashkenas
|
191875a85b
|
got a lexer working along the lines of what kamatsu proposes
|
2009-12-26 10:59:47 -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
|
08dddb27a0
|
adding newline escaping, with tests
|
2009-12-26 09:29:03 -08:00 |
|
Jeremy Ashkenas
|
1ba7c77136
|
reorganizing test fixtures and adding range literals for array slices
|
2009-12-25 16:20:28 -08:00 |
|
Jeremy Ashkenas
|
4b5db1181c
|
make equals signs full equals of colons -- you can use them inside of object literals now too
|
2009-12-25 13:21:17 -08:00 |
|
Jeremy Ashkenas
|
985e0a080b
|
trading aint for isnt -- let's be serious
|
2009-12-24 17:21:20 -08:00 |
|
Jeremy Ashkenas
|
1c83e68292
|
got extends back in the language -- use it together with super
|
2009-12-24 16:49:23 -08:00 |
|
Jeremy Ashkenas
|
c3ff752c40
|
...
|
2009-12-24 15:05:14 -08:00 |
|
Jeremy Ashkenas
|
73a0777705
|
outdent lexing is correct now, I think
|
2009-12-24 14:51:53 -08:00 |
|
Jeremy Ashkenas
|
aafd3cd6ea
|
first, totally broken branch of significant whitespace -- it can handle examples/whitespace.cs though
|
2009-12-24 13:48:46 -08:00 |
|
Jeremy Ashkenas
|
7f502543d2
|
added the typeof operater as an OpNode
|
2009-12-24 11:50:44 -08:00 |
|
Jeremy Ashkenas
|
5d1ec9d2a9
|
added the instanceof operator to the grammar as an operation node
|
2009-12-24 11:46:51 -08:00 |
|
Jeremy Ashkenas
|
8d76f4bd3f
|
changing switch/case to switch/when -- it's a better word
|
2009-12-24 01:33:59 -08:00 |
|
Jeremy Ashkenas
|
0a58eeef2b
|
waypoint
|
2009-12-24 01:22:41 -05:00 |
|
Jeremy Ashkenas
|
eae53d4787
|
added the ! sign as an allowed operator
|
2009-12-23 21:00:04 -05:00 |
|
Jeremy Ashkenas
|
64879cdc66
|
added yes, no, on and off as boolean aliases and a nice aliases section to the docs
|
2009-12-23 20:24:55 -05:00 |
|
Jeremy Ashkenas
|
a4d014549b
|
broken waypoint, but fixed line numbers with the new JS comments
|
2009-12-23 19:42:44 -05:00 |
|
Jeremy Ashkenas
|
60eabf63cf
|
broken waypoint, but fixed line numbers with the new JS comments
|
2009-12-23 19:42:18 -05:00 |
|
Jeremy Ashkenas
|
e916d4648d
|
removed all traces of 'extends' -- it's not any shorter or more convenient than just setting the prototype
|
2009-12-22 12:08:29 -05:00 |
|
Jeremy Ashkenas
|
ec58d6fda2
|
got comments within object and array literals working out
|
2009-12-22 11:50:43 -05:00 |
|
Jeremy Ashkenas
|
65809d08f6
|
first draft of parsing and printing along comments -- unfortunately, not yet working within objects and arrays
|
2009-12-22 11:27:19 -05:00 |
|
Jeremy Ashkenas
|
d45643c527
|
passing through comments as tags on Values, but not printing them out quite yet...
|
2009-12-22 10:48:58 -05:00 |
|
Jeremy Ashkenas
|
c7fa9c320a
|
documentation waypoint
|
2009-12-21 11:41:45 -05:00 |
|
Jeremy Ashkenas
|
2f75854a61
|
little fixes more examples
|
2009-12-18 09:55:31 -05:00 |
|
Jeremy Ashkenas
|
669c065dd7
|
parser test raises some minor improvements (remove unnecessary ValueNode arrays, etc
|
2009-12-18 07:11:01 -05:00 |
|
Jeremy Ashkenas
|
92adabdddc
|
adding an initial lexer test
|
2009-12-18 06:59:06 -05:00 |
|
Jeremy Ashkenas
|
d124f7fc0d
|
finished commenting everything but the nodes -- they're up next
|
2009-12-17 22:54:24 -05:00 |
|
Jeremy Ashkenas
|
68bc68c1ac
|
many more comments, plus a fix for inner-assignment indentation
|
2009-12-17 22:13:29 -05:00 |
|
Jeremy Ashkenas
|
9976de76f5
|
added the 'delete' operator
|
2009-12-17 21:21:07 -05:00 |
|
Jeremy Ashkenas
|
0dc445138b
|
removed the 'default' keyword in favor of an 'else'
|
2009-12-17 21:14:36 -05:00 |
|
Jeremy Ashkenas
|
2c90e8b002
|
added exponential and hex numbers
|
2009-12-17 20:59:19 -05:00 |
|
Jeremy Ashkenas
|
1590713576
|
passing through values with line number information that look and act like Ruby natives
|
2009-12-17 09:37:42 -05:00 |
|
Jeremy Ashkenas
|
146b5694c2
|
cleaned up lexer in order to add line numbers
|
2009-12-17 09:29:49 -05:00 |
|
Jeremy Ashkenas
|
1d35910567
|
added the ability to super()
|
2009-12-17 09:07:42 -05:00 |
|
Jeremy Ashkenas
|
1a8311b9d0
|
allowing inner slashes in regexes
|
2009-12-17 08:29:19 -05:00 |
|
Jeremy Ashkenas
|
3dac0f6d84
|
supporting escaped quotes in strings
|
2009-12-17 08:26:20 -05:00 |
|
Jeremy Ashkenas
|
d1682f5b3f
|
multiline strings
|
2009-12-17 08:23:07 -05:00 |
|
Jeremy Ashkenas
|
290aa257de
|
completely reorganized for a gem and the 'coffee-script' command
|
2009-12-16 22:42:53 -05:00 |
|