xixixao
10293df1f9
Recompile source with 1.7.0 version
2014-01-28 03:34:00 +00:00
Demian Ferreiro
2b4421fca1
Merge branch 'master' into more-math-operators
...
Conflicts:
lib/coffee-script/grammar.js
lib/coffee-script/lexer.js
lib/coffee-script/nodes.js
lib/coffee-script/parser.js
test/regexps.coffee
2014-01-24 15:40:28 -03:00
xixixao
8b976acac1
Fixes #1871 , close implicit objects in implicit returns
2014-01-23 23:12:12 +00:00
Jeremy Ashkenas
d2f90d2236
Merge pull request #3320 from xixixao/issue1275
...
Fix #1275
2014-01-22 10:54:18 -08:00
xixixao
c3391e1dd8
Fix 1275
2014-01-22 18:33:44 +00:00
xixixao
f0463e9981
Improve error messages for generated tokens
2014-01-22 02:54:09 +00:00
Marc Häfner
26200f4640
Improve HEREDOC regexp
...
* Exclude trailing blank line from the match group
* Fix backslash handling
2013-11-28 16:46:00 +01:00
xixixao
5e4cca90a3
Fix #3264 , missing leading whitespace before interpolation in heredoc
2013-11-27 20:53:20 +00:00
xixixao
a61b6ee925
Fixed leading whitespace before interpolation in simple strings
2013-11-27 20:29:45 +00:00
xixixao
42aa8d256c
Handle backslashes at the end of heredocs
2013-11-26 19:29:13 +00:00
xixixao
35d327a304
Escape newlines in heredocs with backslashes
2013-11-24 18:37:11 +00:00
xixixao
130899a39f
Fix multiple escaped backslashes in literal strings
2013-11-19 23:44:39 +00:00
xixixao
1102567b0c
Handle escaped backslashes
2013-11-19 00:04:17 +00:00
xixixao
073d025fac
Better method name and fixed regexps for IE
2013-11-18 15:13:40 +00:00
xixixao
efe8c68c75
Changed multiline string literals
2013-11-18 04:32:15 +00:00
Marc Häfner
0d662c3ad2
Missing parentheses
2013-10-24 00:43:29 +02:00
Marc Häfner
fa76e2dd21
Escapable linebreaks in heregexes
2013-10-24 00:36:46 +02:00
Marc Häfner
91ac3fa031
Escaped whitespace and slashes in Heregexes
...
* Resolves #3059 : Don't remove escaped whitespace.
* Fixes #2238 : Prevent escaping slashes that are already escaped.
* Fix detection of end of heregex with escaped slashes.
2013-10-22 18:08:17 +02:00
Marc Häfner
4fd5e9a3ab
Better handling of initial indent at file start.
...
* Detect initial indentation before the first token and enforce it.
* Don't add `INDENT` token (or the matching `OUTDENT, TERMINATOR`).
2013-06-14 00:28:45 +02:00
Jeremy Ashkenas
84b8b5ccee
CoffeeScript 1.6.3
2013-06-02 09:37:45 +04:00
Michael Ficarra
174cd7eaa0
rebuild for some unneccessary parentheses changes
...
rebuild of 3921e3db34
2013-04-28 22:09:46 -05:00
Nami-Doc
7be996c010
code cleanup
2013-04-28 00:56:44 +02:00
Nami-Doc
1917bb69ed
Fix #2944
2013-04-21 12:33:00 +02:00
Demian Ferreiro
d57b1aab10
Add power operator to the list of tokens that force a line continuation if they appear at the end of a line
2013-03-25 20:41:14 -03:00
Demian Ferreiro
22e8856b4d
Add floor division // and modulo %% operators, and compound forms of the new operators
...
Also kill the empty regex :(
2013-03-25 03:19:05 -03:00
Demian Ferreiro
08b59aef8a
Make power operator have higher precedence than unary operators: +, -, ~, !
2013-03-25 00:05:04 -03:00
Demian Ferreiro
e237abff84
Merge branch 'power-operator' of git://github.com/charliesome/coffee-script into more-math-operators
...
Conflicts:
src/nodes.coffee
test/operators.coffee
2013-03-24 22:47:46 -03:00
Jeremy Ashkenas
566a7dabb2
Fixing erroneous whitespace fix in generated JS
2013-03-18 17:47:55 +08:00
Jeremy Ashkenas
a3e8de338a
CoffeeScript 1.6.2
2013-03-18 13:06:33 +08:00
Marc Häfner
b8d695a4e1
Compiled JavaScript files for improved literal mode.
2013-03-15 03:26:12 +01:00
Demian Ferreiro
f0fcf4aee0
Merge branch 'master' of git://github.com/jashkenas/coffee-script into improved-error-messages
...
Conflicts:
lib/coffee-script/coffee-script.js
lib/coffee-script/command.js
lib/coffee-script/helpers.js
lib/coffee-script/lexer.js
lib/coffee-script/nodes.js
lib/coffee-script/repl.js
src/coffee-script.coffee
src/command.coffee
src/helpers.coffee
src/lexer.coffee
src/nodes.coffee
test/helpers.coffee
2013-03-10 20:29:36 -03:00
Jeremy Ashkenas
de8ec2beb0
Fixes #1066 -- interpolated strings are not implicit funcs
2013-03-05 21:28:29 +13:00
Demian Ferreiro
5da7f6a488
Get rid of CompilationError and instead have a couple of functions on helpers.coffee
2013-03-05 01:13:46 -03:00
Jeremy Ashkenas
1b573412d3
cleaning up the previous merge -- moving it out to helpers.invertLiterate
2013-03-05 15:45:57 +13:00
Demian Ferreiro
b400047045
Merge branch 'master' of git://github.com/jashkenas/coffee-script into improved-error-messages
...
Conflicts:
Cakefile
lib/coffee-script/coffee-script.js
lib/coffee-script/command.js
lib/coffee-script/nodes.js
lib/coffee-script/repl.js
src/coffee-script.coffee
src/helpers.coffee
src/nodes.coffee
src/repl.coffee
2013-03-04 23:42:47 -03:00
Michael Smith
fca68717ff
Fix #2768 : rewrite literate code before the join
2013-03-04 18:30:24 -08:00
Marc Häfner
ebff9fbc31
Exclude preceding newlines from INDENT tokens.
...
Produces more meanignful locationData.
2013-03-05 00:03:08 +01:00
Marc Häfner
97a41adf0c
Fix location of tokens with no length
...
by actually using the computed offset.
2013-03-05 00:01:17 +01:00
Jeremy Ashkenas
eef83a9fcb
CoffeeScript 1.6.1
2013-03-05 11:07:16 +13:00
Jeremy Ashkenas
9f614fedec
CoffeeScript 1.6.0
2013-03-05 08:19:08 +13:00
Jeremy Ashkenas
b3452c1276
Fixes #2508 -- existential access of the prototype.
2013-03-04 22:07:47 +13:00
Marc Häfner
3c38a34ab2
Fix line numbers when first line is indented.
...
* Offset @chunkLine for inserted line break.
* Avoid line break insertion for blank lines.
2013-03-01 21:30:07 +01:00
Jeremy Ashkenas
e70dd156b0
Fixing heredocs in literate coffeescript
2013-03-01 07:42:12 +13:00
Demian Ferreiro
7e5f1b14a3
Pass 0-based indexes to CompilerError
2013-02-25 15:12:25 -03:00
Demian Ferreiro
25091fb2a0
Improved lexer error messages
2013-02-25 14:41:34 -03:00
Demian Ferreiro
f609036bee
Remove unnecessary returns and use default parameters
2013-02-25 10:44:56 -03:00
Jeremy Ashkenas
af53c230a1
CoffeeScript 1.5.0
2013-02-25 21:12:22 +13:00
Jeremy Ashkenas
5e498ca395
merged
2013-02-25 17:41:27 +13:00
Michael Ficarra
5ae9c5d947
compile a320e1e535
2013-02-24 21:12:57 -06:00
Michael Ficarra
2402f9774a
Revert "Moving the 'generated by coffeescript version X' comment to the bottom, to get it out of the way"
...
This reverts commit b31cc70235 .
2013-02-24 21:11:43 -06:00