Jeremy Ashkenas
3b2bade2f2
Use the newer Node.js binding for 'vm'.
2011-03-16 05:47:58 -05:00
Jeremy Ashkenas
963adb5230
merging jcoglan's splat declaration patch.
2011-03-12 07:41:14 -06:00
James Coglan
b9343b458f
Fix scoping of splat parameters in argument lists.
2011-03-12 11:46:07 +00:00
Jeremy Ashkenas
b7855857b5
stop trimming all trailing whitespace.
2011-03-11 22:39:32 -05:00
Michael Ficarra
aa54b23713
fixes #1168 : leading floating point suppresses newline (thanks, satyr)
2011-02-27 02:11:35 -05:00
Timothy Jones
96b22a16eb
Closes #1001 . Throw cannot be directly used as an expression with parens, but can appear as a statement in an expression.
2011-02-23 15:50:28 +13:00
Timothy Jones
5fbbfbcbe3
Closes #1082 . Puts back use of function calls in parameter lists.
2011-02-23 13:20:01 +13:00
Jeremy Ashkenas
6f21f8a402
merging stable
2011-02-01 22:02:57 -05:00
Trevor Burnham
abfc99308d
Setting process.argv[1] to equal the filename of the script being run (issue 1087)
2011-02-01 21:41:20 -05:00
Jeremy Ashkenas
955c87ef30
Bumping version to 1.0.2-pre
2011-02-01 21:32:58 -05:00
Jeremy Ashkenas
005c5309c4
Merging in stable at 1.0.1
2011-01-31 23:34:34 -05:00
Jeremy Ashkenas
c44d9ae923
CoffeeScript 1.0.1
2011-01-31 22:39:12 -05:00
Jeremy Ashkenas
a487259e8e
Backporting the REPL fix for Node 0.3.7 and Coffee 1.0-stable
2011-01-31 22:27:56 -05:00
Jeremy Ashkenas
37308e6760
Issue #1071 , parenthesizing undefined literals when accessed.
2011-01-30 21:16:39 -05:00
Jeremy Ashkenas
4ce374be25
Issue #870 ... placeholders in destructuring assignment.
2011-01-30 20:49:02 -05:00
Jeremy Ashkenas
8b8e8a94ff
Issue #997 ... Maloptimized break suppression.
2011-01-30 20:28:11 -05:00
Jeremy Ashkenas
3c9fdde24b
resolved merge
2011-01-30 19:40:59 -05:00
Jeremy Ashkenas
578a46fbda
Issue #875 -- console.log in the REPL
2011-01-30 19:32:07 -05:00
Jeremy Ashkenas
654c933e30
fixing version number to 1.1.0-pre ... to make it installable with npm.
2011-01-30 17:00:07 -05:00
Timothy Jones
83a86aacb5
Closes #1068 . Don't know why CALL_START was in that file.
2011-01-24 19:57:31 +13:00
Timothy Jones
f231809e22
Swapping == with <, just in case.
2011-01-23 00:54:43 +13:00
Timothy Jones
2c8e0a6914
Merge branch 'readline0.3.6' of https://github.com/agnoster/coffee-script into agnoster
2011-01-23 00:43:18 +13:00
Isaac Wolkerstorfer
496816acff
Add backwards compatibility for older readline
...
Check the readline.createInterface for arity. If it is 3,
assume the newer interface requiring separate stdin and stdout.
Otherwise, use the older calling style.
2011-01-22 12:30:22 +01:00
Isaac Wolkerstorfer
78b52f5716
Replace stdio with stdin/stdout pair for readline
...
On Node.js v0.3.6, the readline interface expects (in, out, complete).
This change makes the coffee-script repl conform to that expectation.
2011-01-22 11:40:25 +01:00
Timothy Jones
2ca108820f
Closes #973 . New is more careful around the do construct.
2011-01-22 23:26:38 +13:00
Timothy Jones
dc6bd715b2
Closes #970 . Statements that use new are wrapped in parens to avoid the closure being used.
2011-01-22 23:12:39 +13:00
Timothy Jones
18a1e01d64
Closes #971 . Existensial slices now supported.
2011-01-22 19:56:14 +13:00
Timothy Jones
15e1078d01
I suppose there's no reason to ever call a prototype like a function.
2011-01-22 19:34:30 +13:00
Timothy Jones
06b0c7e928
Closes #1064 . Dot accesses force the next token to be an identifier.
2011-01-22 19:29:07 +13:00
Jeremy Ashkenas
3924c2f2bd
First draft of fixing shorthand objects mixed with regulars within arrays.
2011-01-19 22:36:30 -05:00
Jeremy Ashkenas
7625d900d3
toTimeString -> toLocaleTimeString
2011-01-19 22:17:53 -05:00
Jeremy Ashkenas
53dc1f2055
Merging in donjones' implicit object fix, hooray.
2011-01-18 23:46:55 -05:00
Jeremy Ashkenas
65e81e4034
Merge branch '1.0-stable'
2011-01-18 23:29:44 -05:00
Jeremy Ashkenas
1f2f55bea3
merging in chetan51's Node 0.2.5 compatibility patch. Homebrew timestamps.
2011-01-18 23:28:37 -05:00
Jeremy Ashkenas
4b78790096
Making #1050 a syntax error.
2011-01-18 23:10:09 -05:00
Chetan Surpur
f35ea486a7
Removed dependency on the util module in the coffee source files
2011-01-18 10:19:00 -08:00
Chetan Surpur
a48cd7cb1d
Removed dependency on util to extend support to node v0.2.5
2011-01-18 09:45:58 -08:00
Jeremy Ashkenas
d8823ed45e
Implemented continuable lines in the REPL. Use a trailing slash. Multiline functions are now possible.
2011-01-15 15:06:51 -05:00
Jeremy Ashkenas
9a63b3147f
First implementation of autocomplete.
2011-01-15 14:53:07 -05:00
Jeremy Ashkenas
3f586ff4ab
Merge branch 'master' into 1.1-pre
2011-01-15 14:50:44 -05:00
Jeremy Ashkenas
c4d4cfe9dc
Merge branch 'master' of https://github.com/ryszard/coffee-script into 1.1-pre
2011-01-15 14:50:41 -05:00
Jeremy Ashkenas
566087b518
Expressions -> Block
2011-01-15 14:19:35 -05:00
Jeremy Ashkenas
f4a7cca075
Issue #1038 ... optimize away trailing return / and return undefined
2011-01-15 14:14:11 -05:00
Jeremy Ashkenas
d9d50fdf54
Leave out the 'Available Options' bit.
2011-01-15 11:04:50 -05:00
Jeremy Ashkenas
4c18ddf549
Fixing issue #1046 .
2011-01-15 10:57:50 -05:00
Jeremy Ashkenas
7c7b9a4be1
Merging in 1035 fix. fileName -> filename ... a bit of refactoring.
2011-01-15 10:46:53 -05:00
Jeremy Ashkenas
9faedbf516
bump version to 1.1-pre
2011-01-15 10:28:26 -05:00
Trevor Burnham
ba45dedbd5
Decoupling --require flag processing from file compilation
...
This change allows files to be `--require`d before entering the REPL. It's also
an opimization, since files are `--require`d only once, rather than being
required again every time a file is compiled.
A secondary change is that `module.filename` is temporarily modified. This is
somewhat less aesthetically appealing than the old approach of using
fs.realpathSync, but it allows you to run `coffee -r ./foo` rather than having
to write `coffee -r ./foo.coffee`, since Node does not accept absolute paths
without a file extension.
2011-01-13 14:50:00 -05:00
Trevor Burnham
7815138386
Fixing require './foo' under --eval and REPL; issue 1035
2011-01-13 14:20:11 -05:00
Jeremy Ashkenas
47e4f4dae1
Merge branch 'issue1011' of http://github.com/michaelficarra/coffee-script
2011-01-10 23:25:28 -05:00