Jeremy Ashkenas
|
eae53d4787
|
added the ! sign as an allowed operator
|
2009-12-23 21:00:04 -05:00 |
|
Jeremy Ashkenas
|
5f9a190683
|
...
|
2009-12-23 20:57:35 -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
|
6555473788
|
for whatever reason, don't need to force else-bodies to compile as statements anymore ... let them do what they want
|
2009-12-22 12:18:27 -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
|
2f211196a2
|
moderate refactor of nodes.rb -- tests pass and examples compile without warnings
|
2009-12-22 10:11:41 -05:00 |
|
Jeremy Ashkenas
|
9bb3e3fbe8
|
clean up children at exit -- had about twenty processes all watching and recompiling the docs
|
2009-12-21 12:15:13 -05:00 |
|
Jeremy Ashkenas
|
c7fa9c320a
|
documentation waypoint
|
2009-12-21 11:41:45 -05:00 |
|
Jeremy Ashkenas
|
93bdfcb72a
|
added full complement of bitwise operators
|
2009-12-19 22:55:58 -05:00 |
|
Jeremy Ashkenas
|
9ba1ffde21
|
making the each fixture a little more like underscore, and avoiding passing assignment into functions from the outside
|
2009-12-19 00:45:36 -05:00 |
|
Jeremy Ashkenas
|
0b2e7f1e59
|
added the verbose option to the CLI
|
2009-12-19 00:37:54 -05:00 |
|
Jeremy Ashkenas
|
b2e6a34d40
|
more little fixes, lots of subtle things, added a verbose logging mode
|
2009-12-19 00:33:34 -05:00 |
|
Jeremy Ashkenas
|
ad3b887df4
|
lots of tweaks make the tests pass again
|
2009-12-18 23:13:59 -05:00 |
|
Jeremy Ashkenas
|
6f81ac3684
|
patched up array comprehensions somewhat. Parens are still a necessary evil, and there's still probably plenty of edge cases
|
2009-12-18 22:30:09 -05:00 |
|
Jeremy Ashkenas
|
2f75854a61
|
little fixes more examples
|
2009-12-18 09:55:31 -05:00 |
|
Jeremy Ashkenas
|
f154ab3d15
|
adding comprehensive attr_readers to the AST for testing
|
2009-12-18 07:21:59 -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
|
049358d006
|
after a lot of grammar wrestling, got the if-else chains to parse unambiguously. Now you only need a single period to close chains of any length.
|
2009-12-18 00:49:23 -05:00 |
|
Jeremy Ashkenas
|
a50446a0ca
|
finally got the function/object/variable assignment indentation straightened out, I think
|
2009-12-17 23:45:24 -05:00 |
|
Jeremy Ashkenas
|
67bb49ed04
|
compiling if-else chains into nice flat ones
|
2009-12-17 23:34:52 -05:00 |
|
Jeremy Ashkenas
|
1395b05d36
|
first major rework of the nodes -- still need more comments and templatish cleanup, but character tagging is all settled
|
2009-12-17 23:22:02 -05:00 |
|
Jeremy Ashkenas
|
83944950ac
|
renamed Nodes to Expressions
|
2009-12-17 22:58:40 -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
|
77704d24a2
|
finished commenting the grammar
|
2009-12-17 22:22:35 -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
|
8511a33b1e
|
commented the command-line interface
|
2009-12-17 21:57:21 -05:00 |
|
Jeremy Ashkenas
|
6050cad0f8
|
moved the TextMate bundle into the gem, added a command to install it
|
2009-12-17 21:46:12 -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
|
3ffbf541df
|
removed class checks in favor of statement?
|
2009-12-17 21:10:49 -05:00 |
|
Jeremy Ashkenas
|
2c90e8b002
|
added exponential and hex numbers
|
2009-12-17 20:59:19 -05:00 |
|
Jeremy Ashkenas
|
398251ff90
|
added a nice --watch mode to continually recompile or relint (or reprint) your coffeescripts
|
2009-12-17 20:37:39 -05:00 |
|
Jeremy Ashkenas
|
9249ceaef5
|
cleanups getting underscore to compile
|
2009-12-17 10:33:57 -05:00 |
|
Jeremy Ashkenas
|
1eec05d23a
|
added nice syntax errors
|
2009-12-17 10:04:43 -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 |
|