Jeremy Ashkenas
|
a93229b14d
|
fixing an off-by-one error in Splat compilation
|
2010-02-20 18:25:36 -05:00 |
|
Jeremy Ashkenas
|
2d3f6b80c1
|
Revert "fixing api changes (no more promises) for node v.0.1.29"
This reverts commit 9503ea3040.
|
2010-02-20 18:12:09 -05:00 |
|
alunny
|
9503ea3040
|
fixing api changes (no more promises) for node v.0.1.29
|
2010-02-20 14:45:16 -08:00 |
|
Jeremy Ashkenas
|
08539a156e
|
merging cehoffman/master
|
2010-02-19 18:30:47 -05:00 |
|
Jeremy Ashkenas
|
b183b091ee
|
removing redundant compile from command_line.coffee
|
2010-02-19 18:29:24 -05:00 |
|
Jeremy Ashkenas
|
c39415da44
|
using the new fs.writeFile API instead of fs.open -- much, much nicer
|
2010-02-19 18:27:50 -05:00 |
|
Chris Hoffman
|
2c461f6474
|
Simpler write method that assumes utf8 output like input reading does
|
2010-02-19 16:03:37 -06:00 |
|
Chris Hoffman
|
e213964793
|
No need to recompile the script for writing
|
2010-02-19 16:02:58 -06:00 |
|
Jeremy Ashkenas
|
dd753d3b78
|
Removing the notion of a ThisNode so that we don't have to worry about the special cases. Fixes Issue 180
|
2010-02-19 07:51:52 -05:00 |
|
Jeremy Ashkenas
|
45c0d4c2ea
|
fixing standalone @ references
|
2010-02-18 21:50:42 -05:00 |
|
Jeremy Ashkenas
|
4f89f90dab
|
adding syntax highlighting for standalone @ts
|
2010-02-18 21:32:54 -05:00 |
|
Jeremy Ashkenas
|
0270e48a01
|
using '== null' to check for soaked accessor chains instead of '== undefined' -- shorter, and slightly safer
|
2010-02-18 21:04:41 -05:00 |
|
Jeremy Ashkenas
|
a278d8f018
|
adding an extra pair of braces to the code produced by object comprehensions, so as to squeak by in JSLint's good graces
|
2010-02-18 20:22:53 -05:00 |
|
Jeremy Ashkenas
|
d4a180c413
|
carefully categorizing JS keywords from JS reserved words from Coffee keywords, so that we can throw syntax errors at compile time if JS keywords are getting assigned to.
|
2010-02-18 20:09:41 -05:00 |
|
Jeremy Ashkenas
|
28a8c05513
|
light refactor for repl.coffee
|
2010-02-17 23:51:43 -05:00 |
|
Jeremy Ashkenas
|
879b3d76bd
|
light refactors to scope.coffee
|
2010-02-17 23:37:39 -05:00 |
|
Jeremy Ashkenas
|
138692183b
|
removing the 'remote' parameter from Scope::find -- it wasn't used anymore
|
2010-02-17 23:26:03 -05:00 |
|
Jeremy Ashkenas
|
95f3e2f79f
|
just namespacing the coffeescript compiler
|
2010-02-17 23:25:17 -05:00 |
|
Jeremy Ashkenas
|
dec9950649
|
Revert "namespacing CoffeeScript in the browser, and sniffing the 'require' function instead of the 'exports' object"
This reverts commit 2f6b69b580.
|
2010-02-17 23:22:05 -05:00 |
|
Jeremy Ashkenas
|
2f6b69b580
|
namespacing CoffeeScript in the browser, and sniffing the 'require' function instead of the 'exports' object
|
2010-02-17 23:15:37 -05:00 |
|
Jeremy Ashkenas
|
ff1fd97924
|
removing traces of Ruby from coffee-script.coffee, redoing narwhal support to use the new compiler (but untested)
|
2010-02-17 22:37:56 -05:00 |
|
Jeremy Ashkenas
|
87e60dccf0
|
starting to cache fancy switch values -- fixing issue #171
|
2010-02-17 21:23:59 -05:00 |
|
Jeremy Ashkenas
|
8ff977dc65
|
making 'no such task' errors a little nicer
|
2010-02-17 20:37:30 -05:00 |
|
Jeremy Ashkenas
|
fbfa12c733
|
moving 'throw' to a slightly higher level of precedence
|
2010-02-17 19:35:34 -05:00 |
|
Jeremy Ashkenas
|
6a45d25777
|
adding a test for parenthesized throws
|
2010-02-17 19:29:37 -05:00 |
|
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
|
e2a71d3c2c
|
removing the '--' from /usr/bin/env node, until we can find a workaround for linux.
|
2010-02-17 19:05:22 -05:00 |
|
Jeremy Ashkenas
|
807e0b479d
|
add a note about installing Node.js first
|
2010-02-17 10:29:13 -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
|
edf5f4947e
|
removing all tasks from the Rakefile except for 'doc' ... we might need to keep that around for a while
|
2010-02-17 00:26:03 -05:00 |
|
Jeremy Ashkenas
|
b674163a40
|
adding build:ultraviolet and build:underscore tasks to the Cakefile
|
2010-02-17 00:22:06 -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
|
a8a46257ae
|
finished converting the test suite, to run it, do: bin/node_coffee -r tasks.coffee -- test
|
2010-02-16 19:45:25 -05:00 |
|
Jeremy Ashkenas
|
b41afe79b4
|
removed ruby tests, and started the process of converting the CoffeeScript tests over to use Node's assert() module
|
2010-02-16 19:38:52 -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
|
f6a1f16146
|
Merge branch 'master' of git://github.com/olsonjeffery/coffee-script
|
2010-02-16 18:06:29 -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 |
|