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
Jeremy Ashkenas
9b3197c6e8
#1026
2011-01-10 23:19:31 -05:00
Jeremy Ashkenas
44355f8eef
Issue #1024 .
2011-01-10 23:09:21 -05:00
Jeremy Ashkenas
83f9cb88cf
Issue #1027 ... leading indentation.
2011-01-10 21:58:35 -05:00
Michael Ficarra
5f19f65ef2
obeying coffeescript convention of a single space after every comma
2011-01-07 03:20:48 -05:00
Gerald Lewis
782bc6c03a
fix for issue 1014 - arguments object in ranged array - apply(this,arguments) instead of call(this)
2011-01-06 21:51:04 -05:00
Michael Ficarra
b158f1cbe6
fix for #1011
2011-01-06 12:38:54 -05:00
Jeremy Ashkenas
9bed99482a
Consistently using == instead of === in conjunction with typeof.
2010-12-30 21:15:50 -05:00
Ryszard Szopa
bb745a8036
Basic REPL autocomplete.
...
It sort of works, but the tests could are incomplete.
2010-12-29 12:59:23 +01:00
Jeremy Ashkenas
83d424f2f4
Issue #985 .
2010-12-28 17:46:54 -08:00
Jeremy Ashkenas
c16c90c00a
Issue #986 ... Unicode identifiers.
2010-12-28 17:42:20 -08:00
Jeremy Ashkenas
7ffb7c19fd
Issue #980 ... improperly truncated --help.
2010-12-26 17:15:55 -08:00
Jeremy Ashkenas
f545f18c2d
Bumping to version 1.0.1-pre
2010-12-26 16:28:18 -08:00
Jeremy Ashkenas
33d2577fb5
CoffeeScript 1.0.0
2010-12-24 11:02:10 -08:00
Jeremy Ashkenas
094b876a38
Scoped comprehensions are back out, Do is back in.
2010-12-24 08:59:30 -08:00
Jeremy Ashkenas
97f8e9ce1c
reserving __bind and __indexOf
2010-12-23 22:24:14 -08:00
Jeremy Ashkenas
385be63126
disallowing --watch and --join together for the time being.
2010-12-23 22:22:34 -08:00
Jeremy Ashkenas
c25462d924
Fixing for a in b() -> ...
2010-12-23 17:57:29 -08:00
Jeremy Ashkenas
9b45d240bb
splice literals should evaluate to their right hand side, like any other type of assignment.
2010-12-23 14:46:34 -08:00
Jeremy Ashkenas
8bd27db727
Fixing issue #965 -- first character of '.' prefixed folder.
2010-12-23 14:34:50 -08:00