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
Jeremy Ashkenas
2d54a45a80
splicing to the end of a one-time expression.
2010-12-23 14:02:46 -08:00
Jeremy Ashkenas
c7d7757dbd
Fixing the asKey setting in Obj.
2010-12-23 13:38:20 -08:00
Jeremy Ashkenas
61705e4d22
Issue #964 . Super should trigger an implicit call.
2010-12-23 12:57:27 -08:00
Jeremy Ashkenas
6a1730956e
slightly less parentheticals.
2010-12-23 12:41:42 -08:00
Jeremy Ashkenas
df8a6529ac
tagging more nodes as keys.
2010-12-23 12:14:47 -08:00
Jeremy Ashkenas
97a29f9c50
fixing mentionsArgs for accesses.
2010-12-23 12:00:23 -08:00
Jeremy Ashkenas
9395d58669
Remove seenFor in favor of a safe scanLineBack.
2010-12-23 11:22:01 -08:00
Jeremy Ashkenas
f9a0bbbc20
safer paren-wrapping for closures.
2010-12-23 10:50:52 -08:00
Jeremy Ashkenas
ccfd369a77
Fixing class extends this in a non-class context.
2010-12-23 10:22:52 -08:00
Jeremy Ashkenas
2ec1c3b56c
reinstating makeReturn for statement literals.
2010-12-23 10:09:05 -08:00
Jeremy Ashkenas
dbeb626f32
switch with debugger in a case should still break, afterwards.
2010-12-23 09:38:57 -08:00
Jeremy Ashkenas
8fd78d3819
Fixing literals that should be statements, and adding failed compilation tests.
2010-12-23 09:33:12 -08:00
Jeremy Ashkenas
b56b08387d
Comprehensions over break and continue
2010-12-23 08:50:34 -08:00
Jeremy Ashkenas
75dfa5af7e
forgot to inherit For::jumps from While::jumps
2010-12-23 08:14:00 -08:00
Jeremy Ashkenas
f5c5709cd9
trailing file, uncompiled.
2010-12-22 21:46:06 -08:00
Jeremy Ashkenas
6495508194
First draft of --join.
2010-12-22 21:26:15 -08:00
Jeremy Ashkenas
482626b9b8
Fixing issue #924 ... static methods of nested classes.
2010-12-22 19:01:32 -08:00
Jeremy Ashkenas
0a48f613ec
Removed the last bits of pureStatements
2010-12-22 12:23:08 -05:00