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
Jason Walton
183e124077
Fix broken case for generated explicit indentation.
2012-11-22 14:22:38 -05:00
Jason Walton
3142b237f5
Hook up new token location data to parser.
2012-11-21 16:57:30 -05:00
Jason Walton
969e45a599
Fix TODO in interpolateString.
2012-11-20 12:05:59 -05:00
Jason Walton
df6c497ab0
Clean up TODOs
2012-11-19 17:37:46 -05:00
Jason Walton
12625cc00c
Add location data to tokens generated by the rewriter.
2012-11-19 11:34:09 -05:00
Jason Walton
bb94e02fad
Lexer now adds location data, including first/last line/column to all generated tokens.
2012-11-16 19:09:56 -05:00
Jason Walton
25126e2f99
Add location data to nodes without passing it in constructors.
2012-11-15 15:35:01 -05:00
Jason Walton
bdcd77d8e6
Use 1-based line numbers instead of 0-based line numbers in nodes toString().
2012-11-14 16:32:35 -05:00
Jason Walton
b9ebcbf555
Add more descriptive line numbers to node toString()
2012-11-14 16:20:25 -05:00
Jason Walton
7c77a5d3c8
Fix line numbers for TERMINATOR tokens.
2012-11-14 14:38:02 -05:00
Jason Walton
ce2bf36aae
Parser passes location data to each node in tree
2012-11-14 11:50:43 -05:00
Demian Ferreiro
52b0f76eb2
Prevent constructors from returning values
2012-10-28 08:55:48 -03:00
Demian Ferreiro
e46b129c4f
Remove return statement on auto-generated constructors
2012-10-28 08:55:02 -03: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
Michael Ficarra
df54c63b1b
yet another small cleanup and obscure bugfix related to #2333
2012-05-16 15:29:00 -04:00
Michael Ficarra
1810d9f318
object key dupe checking again: support newlines and \a in strings
2012-05-16 12:53:28 -04:00
Michael Ficarra
29b9c3bb29
correcting broken fix for #2333 regarding string escape sequences
...
Sorry for all the commits! It should really be done this time.
2012-05-16 10:36:00 -04:00
Michael Ficarra
c6fafa1bc9
renaming any helper to some, reflecting Array::some
2012-05-16 07:58:14 -04:00
Michael Ficarra
e8a8209a2b
Finally rid eval from fix for #2333 . I feel comfortable with it now.
2012-05-16 07:41:00 -04:00