Jeremy Ashkenas
|
2b5d596e10
|
allowing parenthetical nodes to wrap statements without necessarily expression-izing them -- tests are passing ... we'll see how this works in practice.
|
2010-02-17 19:19:51 -05:00 |
|
Jeremy Ashkenas
|
dfa63839bb
|
Updating fs module to the latest Node.js -- that's fs.readFile, not fs.cat, with string flags for fs.open
|
2010-02-17 08:51:27 -05:00 |
|
Jeremy Ashkenas
|
0490cb2920
|
added experimental (but working) method to install CoffeeScript: 'sudo bin/cake install' -- once you've done that, you can take cake and coffee out of their bin/
|
2010-02-17 01:24:02 -05:00 |
|
Jeremy Ashkenas
|
2d0ad73af8
|
reorganizing lib/coffee_script to plain ol' lib
|
2010-02-17 00:55:56 -05:00 |
|
Jeremy Ashkenas
|
5a81fcd42e
|
we don't need relative require's because the paths are set up correctly -- removing the unused runner.coffee script
|
2010-02-17 00:50:08 -05:00 |
|
Jeremy Ashkenas
|
6446e0004c
|
The Great Purge. Removing the Ruby compiler, and all of its accoutrements. bin/coffee is now CoffeeScript-in-CoffeeScript
|
2010-02-17 00:33:55 -05:00 |
|
Jeremy Ashkenas
|
9f2badb3e9
|
got a really nice --watch flag for bin/node_coffee going, thanks to Node.js' process.watchFile. Can be used with --print, --lint, --tokens, --run, or whatever your needs may be
|
2010-02-16 23:59:32 -05:00 |
|
Jeremy Ashkenas
|
0610e20a3c
|
fixing the extends keyword when the expressions are complex, and should only be run once -- not that it's good style -- ticket #143
|
2010-02-16 23:23:43 -05:00 |
|
Jeremy Ashkenas
|
bedc005d67
|
Adding a CoffeeScript equivalent to Rake/Make/Jake (Cake, naturally), and implementing all of our build and test tasks in the Cakefile. Run bin/cake to see the tasks.
|
2010-02-16 20:42:10 -05:00 |
|
Jeremy Ashkenas
|
448ed36cd2
|
got a build script for rebuilding the compiler, too
|
2010-02-16 19:17:57 -05:00 |
|
Jeremy Ashkenas
|
c4d19cd1fa
|
removing underscore.js from lib, and from the docs page
|
2010-02-16 18:39:31 -05:00 |
|
Jeremy Ashkenas
|
495ca64c46
|
removing underscore as a dependency for nodes.coffee -- let's be minimal
|
2010-02-16 18:38:03 -05:00 |
|
Jeremy Ashkenas
|
0f2cf552e9
|
using node's process.compile for better filename reporting on errors
|
2010-02-16 18:16:58 -05:00 |
|
Jeremy Ashkenas
|
db6bc0ba02
|
Implementing sethaurus' suggestion for better temp variable names -- getting rid of the numbers.
|
2010-02-16 18:00:40 -05:00 |
|
Jeremy Ashkenas
|
e4bb6c91e7
|
adding the list of javascript reserved words as syntax errors in CoffeeScript, so that no one uses them accidentally.
|
2010-02-16 17:41:38 -05:00 |
|
Jeremy Ashkenas
|
561a02c35f
|
updating rewrite rules for jots multiline function case
|
2010-02-16 14:56:17 -05:00 |
|
Jeremy Ashkenas
|
51e80484e2
|
fixing an overzealous access in the rewriter
|
2010-02-16 10:12:40 -05:00 |
|
Jeremy Ashkenas
|
79fa4723ab
|
use a temp var for range expansion, instead of 'i'
|
2010-02-16 08:58:29 -05:00 |
|
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
|
2f389f1d51
|
beginnings of a build script
|
2010-02-16 01:04:48 -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
|
4ea8be8e0b
|
switched from alphabetical __a __b temporary variables, to numeric _1, _2, which will be shorter in most cases
|
2010-02-15 21:55:57 -05:00 |
|
Jeremy Ashkenas
|
48c501a7a2
|
print_tokens should acutally, y'know, print
|
2010-02-15 20:46:36 -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
|
639be2ff09
|
updating for Node.js' change from 'posix' to 'fs'
|
2010-02-15 19:08:14 -05:00 |
|
Jeremy Ashkenas
|
9c3040b704
|
moving print_tokens into the actual coffee-script module, so we can use it separately from the command-line
|
2010-02-15 18:09:01 -05:00 |
|
Jeremy Ashkenas
|
e7291f57ba
|
fixing allowing empty functions like () ->
|
2010-02-15 18:03:00 -05:00 |
|
Jeremy Ashkenas
|
3e518e3cf9
|
fixing long-flag-with-optional-part in optparse.coffee, and hiding bin/node_coffee --watch until we implement it
|
2010-02-14 20:50:45 -05:00 |
|
Jeremy Ashkenas
|
7667e16732
|
implementing grayrest's suggested cleanup for object comprehensions
|
2010-02-14 17:35:14 -05:00 |
|
Jeremy Ashkenas
|
e77f4f61aa
|
removing the vendored optparse in favor of a pure-coffeescript optparse library
|
2010-02-14 15:16:33 -05:00 |
|
Jeremy Ashkenas
|
9de729e825
|
enabling the --eval option for the self-compiler
|
2010-02-13 23:27:13 -05:00 |
|
Jeremy Ashkenas
|
ecfa212189
|
updating Jison
|
2010-02-13 18:19:59 -05:00 |
|
Jeremy Ashkenas
|
97fd126a7f
|
the improved error messages are still-to-be-improved
|
2010-02-13 16:28:07 -05:00 |
|
Jeremy Ashkenas
|
844c756940
|
working 'Try CoffeeScript' in the docs
|
2010-02-13 16:23:03 -05:00 |
|
Jeremy Ashkenas
|
a90bf75395
|
got coffeescript compiling in the browser
|
2010-02-13 15:25:04 -05:00 |
|
Jeremy Ashkenas
|
c88b1f6a15
|
got the CoffeeScript-in-CoffeeScript REPL running, and boy is she fast
|
2010-02-13 10:27:18 -05:00 |
|
Jeremy Ashkenas
|
b224d58a36
|
don't make the command-line so OOP-y -- it's just a script
|
2010-02-13 10:16:28 -05:00 |
|
Jeremy Ashkenas
|
7d348b5eae
|
display the usage message when called without arguments
|
2010-02-13 10:07:59 -05:00 |
|
Jeremy Ashkenas
|
02ac3edebf
|
Nicer-looking --tokenize, more in line with what Ruby's doing
|
2010-02-13 09:59:13 -05:00 |
|
Jeremy Ashkenas
|
4bad3e0f4f
|
nicer --tree printing, with values inlines to the right
|
2010-02-13 09:51:52 -05:00 |
|
Jeremy Ashkenas
|
8147ef554a
|
after correctly recording objectnode's children, bin/node_coffee --tree is working pretty nicely
|
2010-02-13 09:46:07 -05:00 |
|
Jeremy Ashkenas
|
785c4fb5a0
|
recording else_body as a child of IfNode, when added after the face
|
2010-02-13 09:44:12 -05:00 |
|
Jeremy Ashkenas
|
13b2dc8d31
|
subtle bug in the order of the rewriter rules was causing some if/else chains to get confused by implicit indentation
|
2010-02-13 09:39:25 -05:00 |
|
Jeremy Ashkenas
|
a62923ff97
|
use Underscore's flatten -- start to make a nicer tree printer
|
2010-02-13 09:13:50 -05:00 |
|
Jeremy Ashkenas
|
dd6be80fca
|
Use _.extend instead of the hand-rolled merge
|
2010-02-13 08:50:29 -05:00 |
|
Jeremy Ashkenas
|
8c077f0f65
|
using underscore's clone() for code generation
|
2010-02-13 02:32:17 -05:00 |
|
Jeremy Ashkenas
|
2c4c4cc93e
|
using Underscore's compact in the code generation, insstead of our home-rolled one.
|
2010-02-13 02:30:47 -05:00 |
|
Jeremy Ashkenas
|
1ab3b183a8
|
Using underscore for an any() function.
|
2010-02-13 02:29:37 -05:00 |
|
Jeremy Ashkenas
|
e6a53bd852
|
fixing the lexer for indented files
|
2010-02-13 02:16:31 -05:00 |
|
Jeremy Ashkenas
|
506ea8aa52
|
adding an if/else/chain test
|
2010-02-13 02:00:39 -05:00 |
|