David M. Lee
576fe44ef8
Export the CoffeeScript REPL.
...
This is done by adding a root level wrapper script for
lib/coffee-script/repl, similar to how the register script is wrapped.
This allows user programs to embed a CoffeeScript REPL without digging
into CoffeeScript's internals.
2014-04-18 08:26:51 -05:00
xixixao
b859d92d2c
Back to non-naked constructor, @, preincrement, comprehension bracketing, idioms: calls, comprehensions, interpolations
2013-12-09 22:28:34 +00:00
Michael Smith
2a56f0cdf7
Correct incorrect line in blocks.coffee
2012-07-02 08:36:00 -07:00
Michael Smith
ace4837365
Migrate from path.exists to fs.exists
...
Compatibility is kept for path.exists. Versions of node that have
made the change will use fs.exists, while older versions will fall
back to path.exists. The same goes for path.existsSync.
2012-07-02 00:20:13 -07:00
Michael Ficarra
94a9551ffa
fixes #1699
2011-09-18 00:52:30 -03:00
Jeremy Ashkenas
c44d9ae923
CoffeeScript 1.0.1
2011-01-31 22:39:12 -05:00
Jeremy Ashkenas
c3f1820ebc
Issue #856 . Invert
2010-11-28 15:33:43 -08:00
Jeremy Ashkenas
8fcd67e82f
Updating examples for 0.9.5
2010-11-21 11:41:24 -05:00
Jeremy Ashkenas
2aedbc2e42
Back to naked constructors.
2010-11-13 15:22:18 -05:00
Jason Davies
498e8124f6
Fix spelling
2010-11-13 10:37:55 +00:00
Jeremy Ashkenas
99c06b5cda
All examples now compile and lint cleanly.
2010-10-24 21:37:27 -04:00
Jeremy Ashkenas
343c0fdef7
top-level examples now compile and lint cleanly.
2010-10-24 21:34:40 -04:00
Jeremy Ashkenas
13f6b037e2
Working towards new versions of the examples.
2010-10-24 21:11:15 -04:00
Jeremy Ashkenas
6347849cd0
Switching parenthesized side in comprehensions.
2010-10-24 14:11:09 -04:00
Jeremy Ashkenas
26a115adcf
Removing the mixed-in sys/util module. Switching from 'puts' to console.log
2010-10-24 12:48:42 -04:00
Jeremy Ashkenas
3f89fea65a
fixing resig link
2010-10-19 09:13:09 -04:00
Jeremy Ashkenas
87693d84cb
Updating Underscore to 1.1.0, fixing a hasOwnProperty glitch in Scope, and a double-semicolon bug in ParentheticalNode.
2010-08-21 08:30:22 -04:00
Jeremy Ashkenas
b18d7fb550
removing the last traces of half-assignments. Issue #541 .
2010-07-29 21:23:49 -04:00
Jeremy Ashkenas
65c107fc5d
finished porting over the examples.
2010-07-29 00:17:48 -04:00
Jeremy Ashkenas
da6ea27454
most of the examples converted to symbology.
2010-07-29 00:03:42 -04:00
Jeremy Ashkenas
e40d25e4bd
rebuilding docs and compressed version for CoffeeScript 0.7.1
2010-07-11 10:40:44 -04:00
Jeremy Ashkenas
7d79d73b58
allowing paren-less instance creation, a la 'new Class'
2010-06-29 21:03:50 -04:00
Jeremy Ashkenas
0222d90fa3
adding a 'loop' keyword to CoffeeScript. Takes an expression or a block. Runs it until you break or return out.
2010-06-12 12:15:53 -04:00
Jeremy Ashkenas
8317960f81
Battery of patches for compatibility with Node v0.1.90
2010-04-10 18:05:35 -04:00
Jeremy Ashkenas
c067808b54
CoffeeScript 0.6.0 is on the books.
2010-04-03 20:43:50 -04:00
Jeremy Ashkenas
590c069158
CoffeeScript 0.5.6
2010-03-23 00:18:50 -04:00
Jeremy Ashkenas
25438be207
new docs for underscore
2010-03-16 19:13:13 -04:00
Jeremy Ashkenas
02f4cb75dd
removing deprecated references to process.mixin in favor of helpers.extend for Node 0.1.32
2010-03-15 22:53:25 -07:00
Will
62a871773b
Include an extra line process.mixin require 'sys' on the top to let the .js output run using node (v0.1.31)
2010-03-09 01:03:43 +11:00
Jeremy Ashkenas
c73a3ec356
updating webserver example for node API
2010-03-06 19:23:25 -05:00
Jeremy Ashkenas
30cf63ec92
updating Underscore.coffee to Underscore.js version 0.6.0
2010-02-28 15:12:18 -05:00
Jeremy Ashkenas
b5c9d779bd
updating the Lexer to use classes and some of the older documentation
2010-02-27 19:40:53 -05:00
Jason Huggins
6bc61ec1a1
Fixed web_server example to be compatible with Node v0.1.30
2010-02-25 17:42:05 -06:00
Jeremy Ashkenas
4d146bacb1
fixing throwing an error string in the Rewriter, when it should have been an Error object
2010-02-23 21:59:29 -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
ff8e0c9751
added hugs' webserver example
2010-02-14 23:20:53 -05:00
Jeremy Ashkenas
b983b3fcdc
moving Underscore.coffee from /examples to /src
2010-02-13 02:05:00 -05:00
Jeremy Ashkenas
89cac4071e
updating underscore.coffee to 0.5.8
2010-02-13 02:03:48 -05:00
Jeremy Ashkenas
7ec0a8d653
merging node into master -- you can now pass the --narwhal flag to use narwhal instead. All tests are executing successfully against both Node.js and Narwhal/Rhino backends
2010-02-07 12:52:07 -05:00
Jeremy Ashkenas
47bc1d5fda
added a blocks example
2010-02-07 11:33:29 -05:00
Jeremy Ashkenas
f5a37035cf
node conversion finished, narwhal removed.
2010-01-29 23:30:54 -05:00
Jeremy Ashkenas
3524d618d8
adding unary plus, new version of Underscore, still passes tests. Rebuilt Narwhal
2010-01-26 22:14:18 -05:00
Jeremy Ashkenas
e998a81b63
removing block literals in favor of implicit calls
2010-01-26 21:05:26 -05:00
Jeremy Ashkenas
a9f016e292
trying out new arrows for function literals -> is a function, => is a bound function
2010-01-26 10:52:05 -05:00
Jeremy Ashkenas
29e4043f26
tests passing with smarter block syntax with optional parens
2010-01-26 02:15:08 -05:00
Jeremy Ashkenas
460b3f6d8e
first draft of mandatory parentheses around function definition param lists -- all tests pass
2010-01-26 00:40:58 -05:00
Jeremy Ashkenas
63b44a2b03
odd and even were backwards
2010-01-25 22:44:36 -05:00
Jeremy Ashkenas
4b267b401a
another poignant example
2010-01-24 20:04:28 -05:00
Jeremy Ashkenas
e6f010b983
adding more examples to the computer_science folder, and fiddling with operator precedence
2010-01-24 18:59:29 -05:00
Jeremy Ashkenas
817e8deb27
adding soaked method calls, with caching
2010-01-24 12:52:15 -05:00