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
d5d772d55e
Remove debug logging from Cakefile.
2012-11-15 15:18:52 -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
c407a0bf19
Fix reporting of errors in 'cake test'
2012-11-14 16:19:17 -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
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
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
b06a326c7d
Merge pull request #2587 from sstur/pullreq
...
Simplify Call.prototype.compileSplat based on how Traceur does it
2012-10-16 10:03:49 -07:00
Simon Sturmer
25bdde85a9
Simplify Call.prototype.compileSplat based on how Traceur does it
2012-10-16 21:05:31 +07:00
Jeremy Ashkenas
d8905e2f87
Fixes #2577 -- better instructions for installing master
2012-10-08 10:08:23 -04:00
Jeremy Ashkenas
97de09c8f1
rebuilding
2012-09-25 17:16:10 -05:00
Jeremy Ashkenas
7595cb689a
Adding a CONTRIBUTING to CoffeeScript.
2012-09-17 13:16:41 -04:00
Jeremy Ashkenas
2b86470665
Merge pull request #2535 from philikon/issue2534
...
Fix #2534 : Don't pass a string argument to the XMLHttpRequest constructor
2012-09-07 13:41:45 -07:00
Philipp von Weitershausen
78423e9a14
Fix #2534 : Address @jashkenas review comment.
2012-09-07 12:53:37 -07:00
Philipp von Weitershausen
ec59a626f2
Fix #2534 : Don't pass a string argument to the XMLHttpRequest constructor.
2012-09-05 00:09:18 -07: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
Jeremy Ashkenas
b74e73058c
Merge pull request #2484 from paulyoung/remove-register-extension
...
Fixes #2441 : Remove (deprecated) registerExtension support.
2012-08-10 07:24:55 -07:00
Paul Young
c29597b3bc
Fixes #2441 : Remove (deprecated) registerExtension support.
2012-08-08 20:01:07 -04: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
Jeremy Ashkenas
1fa3da68ba
Merge pull request #2430 from domenic/bom
...
Strip UTF-8 BOM when require'ing .coffee modules.
2012-07-09 08:25:48 -07:00
Jeremy Ashkenas
219726a9c5
Merge pull request #2431 from domenic/npm-test
...
Add test script to package.json.
2012-07-09 08:24:49 -07:00
Domenic Denicola
81c0964e48
Add test script to package.json.
...
Allows one to run the tests using `npm test`.
2012-07-08 22:55:43 -04:00
Domenic Denicola
c9388ce767
Strip UTF-8 BOM when require'ing .coffee modules.
...
Allows people to author their .coffee files with UTF-8 BOMs at the start, because sometimes that happens. Fixes #798 .
2012-07-08 22:52:13 -04:00
Michael Smith
2a56f0cdf7
Correct incorrect line in blocks.coffee
2012-07-02 08:36:00 -07: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
8d39c1cc79
Merge pull request #2371 from takkaw/del_unused
...
dead code removal
2012-06-06 17:38:22 -07:00
takkaw
bc7e0cf09a
delete unused sentence
2012-06-06 23:05:10 +09:00
Michael Ficarra
7c29ea4d38
removing code that restricts duplicate key names and associated tests
2012-05-21 13:49:00 -04:00
Michael Ficarra
6c6c8bd454
typo in test case for #2333
2012-05-21 13:28:18 -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