Alon Salant
47bd05e9a0
REPL tests based on direct interaction with input and output stream. Includes multiline tests.
2013-01-21 21:56:34 -08:00
Michael Ficarra
537c5f4b70
fix some issues pointed out in 041033a51a
2013-01-21 10:27:52 -06:00
Michael Ficarra
041033a51a
finish multiline support for REPL rewrite
2013-01-21 00:43:08 -06:00
Michael Ficarra
2e191dc0e7
Merge branch 'node_repl_multiline' of https://github.com/asalant/coffee-script into repl-rewrite
2013-01-18 21:16:39 -06:00
Alon Salant
4a52814a79
Multiline WIP
2013-01-18 11:33:04 -08:00
Alon Salant
d84cd9466e
empty command evaluates to undefined
2013-01-15 22:40:41 -08:00
Alon Salant
627b921bca
Initial commit of REPL based on node's REPLServer
2013-01-15 22:40:40 -08:00
Jeremy Ashkenas
955afe0c9f
Merge branch 'master' of github.com:jashkenas/coffee-script
2013-01-16 17:34:04 +11:00
Jeremy Ashkenas
316d5e5e77
fixing missing file finding logic for litcoffee
2013-01-16 17:33:54 +11:00
Jeremy Ashkenas
d11fa573e6
do not try to compile traces of coffee within node_modules
2013-01-14 11:45:02 -08:00
Jeremy Ashkenas
6becd8fb13
Reverting the unthrow of the error.
2013-01-14 11:44:15 -08:00
satyr
9595b30d6f
fix tabbed literate code
2013-01-10 06:24:12 +09:00
Michael Ficarra
f672e0cdb5
fix 'litcoffee' extension support
...
As pointed out by @satyr in 27551b23f3
2013-01-07 22:35:20 -06:00
Michael Ficarra
66bbef4ce0
revert broken parts of cdde576182
...
Thanks @alagopus.
2013-01-07 22:32:39 -06:00
Michael Ficarra
dfe91d1766
rebuilding after cdde576182
2013-01-07 22:27:02 -06:00
Jeremy Ashkenas
cdde576182
Syntax errors no longer report full stack traces ... just the error, please
2013-01-06 19:12:23 -10:00
Jeremy Ashkenas
82aeb70380
Fixes #2630 -- Class bodies shouldn't be able to reference arguments.
2013-01-06 19:08:32 -10:00
Jeremy Ashkenas
69ef1abdf6
Fixes #2389 -- strip the BOM for once and for all
2013-01-06 18:56:58 -10:00
Jeremy Ashkenas
cc6f0451e7
Fixes #2621 -- buggy function parameter name detection with complex destructuring in param list.
2013-01-05 18:32:57 -10:00
Jeremy Ashkenas
547a271cee
Merge pull request #2627 from int3/master
...
Parse compound assignment operator followed by a terminator. Closes #2532 .
2013-01-05 20:10:32 -08:00
Jeremy Ashkenas
cd2444e546
Fixes #2645 -- block comments should always be closed
2013-01-05 18:04:16 -10:00
Jeremy Ashkenas
025b0be31b
Correct line numbers in literate coffeescript syntax errors
2013-01-04 17:23:18 -10:00
Jeremy Ashkenas
27551b23f3
add litcoffee to supported file formats
2013-01-04 10:03:49 -10:00
Jeremy Ashkenas
ba08a21d21
bumping version to 1.5.0-pre
2013-01-04 09:35:20 -10:00
Jeremy Ashkenas
48d625816c
Merge branch 'master' into literate
2013-01-04 09:07:09 -10:00
Jez Ng
847ab4d18e
Parse compound assignment followed by a terminator.
...
Closes #2532 .
2012-11-27 20:11:01 -05:00
Jeremy Ashkenas
35787ef79b
Fixes #2567 -- optimize generated code with an existential is directly negated.
2012-10-23 18:17:53 -04:00
Jeremy Ashkenas
f029695db8
Fixing wonky spacing at top level.
2012-10-23 18:08:29 -04:00
Jeremy Ashkenas
0ba628159f
Fixes #2580 -- Try/Catch is allowed to destructure the error object.
2012-10-23 17:57:22 -04:00
Jeremy Ashkenas
158d37215a
CoffeeScript 1.4.0
2012-10-23 16:45:31 -04:00
Jeremy Ashkenas
7ad25c90fa
rebuilding nodes
2012-10-23 15:51:13 -04:00
Jeremy Ashkenas
4fb3a312b0
fixing block comment indentation
2012-09-25 19:35:02 -05:00
Jeremy Ashkenas
82fadea1ed
first working version of literate coffeescript
2012-09-25 19:15:40 -05:00
Jeremy Ashkenas
bb194dc6c6
start with comments...
2012-09-25 18:10:43 -05:00
Jeremy Ashkenas
9167b3aca1
removing export of RESERVED ... more progress.
2012-09-25 18:01:16 -05:00
Jeremy Ashkenas
97de09c8f1
rebuilding
2012-09-25 17:16:10 -05:00
Michael Ficarra
1b14c035e7
fixes #2521 : line numbers in errors affected by newlines in backticks
2012-08-29 12:54:50 -05:00
Michael Ficarra
ba34f8d389
updated compiled output
2012-08-29 12:54:16 -05:00
Michael Ficarra
5d7a83468a
fixed broken compilation due to pull #2430
...
cc @jashkenas, @domenic, @yyfearth
2012-07-11 10:24:58 -05:00
Michael Ficarra
a396837fa4
building #2430
2012-07-10 23:08:14 -05: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
6417cf4d1b
removed duplicate "let" in RESERVED list
...
thanks @phleet for finding it:
161e9a6559 (commitcomment-1448952)
2012-06-12 15:16:50 -05:00
Michael Ficarra
1731f7d321
rebuild after merging #2371
2012-06-06 19:39:17 -05:00
Michael Ficarra
7c29ea4d38
removing code that restricts duplicate key names and associated tests
2012-05-21 13:49:00 -04:00
Michael Ficarra
81f780f1fb
finally put #2333 to rest by resorting to using indirect eval
...
related: #1772 , #1776 ; we're relying on the underlying engine having the
string escaping behaviour we want instead of implementing it manually.
2012-05-21 13:26:29 -04:00
Jeremy Ashkenas
6838bae36e
Merge pull request #2347 from heyLu/fix-repl
...
fix repl completion and navigation
2012-05-21 06:22:04 -07:00
Michael Ficarra
972a5299d5
correct spacing around operators in slice output
2012-05-20 16:32:10 -04:00
Michael Ficarra
b8149812cd
fixes #2349 : inclusive slicing to numeric strings
2012-05-20 16:22:25 -04:00
Lucas Stadler
01d4e87f57
fix repl completion and navigation
...
The readline interface of node has changed in [aad12d0][] and because of
that the autocompletion and key movement didn't work anymore. This
commit fixes this by checking whether stdin is in raw mode (i.e. invoked
as a script) or not (as a repl).
[aad12d0]: https://github.com/joyent/node/commit/aad12d0
2012-05-20 11:38:50 +02:00
Michael Ficarra
f938a213fe
trying to commit built files again; here goes nothing
2012-05-16 15:50:34 -04:00