Stéphan Kochen
c458346593
In compileScripts, run base through path.join.
...
Allows `path.join` to do some processing on the base path
that was also happening on the full path.
Fixes: `coffee -o ./ ./`
Still broken: `coffee -o . .`
2010-10-19 18:36:27 +02:00
Stéphan Kochen
e5dfa19ec9
Report errors when writing files in coffee.
2010-10-19 18:30:29 +02:00
satyr
87560d943c
lexer: made REGEX more efficient
2010-10-18 07:43:29 +09:00
satyr
8d0a0e8ab1
nodes: Value.unfoldSoak -> If.unfoldSoak
2010-10-17 13:53:02 +09:00
satyr
55794d9534
nodes: soaking Call now converts to If using the same logic as soaking Accessor
2010-10-17 13:19:51 +09:00
satyr
88cc1ee35d
765: -b/--bare <- --no-wrap
2010-10-14 04:09:56 +09:00
Michael Ficarra
1ea38d2f93
fixing #768 , preserving execution order of in arguments when compiled
...
to an `or`.
2010-10-13 12:10:36 -04:00
satyr
1d4d7e96fa
quit using sp?licing ranges
2010-10-13 05:47:45 +09:00
satyr
67eb966a75
stripped a line from __extends
2010-10-13 04:57:11 +09:00
satyr
cb2a7f0820
simplified splatting new compilation
2010-10-12 21:48:25 +09:00
satyr
8f29574b16
764: made boolean/number/regex indexable
2010-10-12 19:30:10 +09:00
satyr
c0ec479e60
browser: exposed require for debugging
2010-10-12 17:10:39 +09:00
satyr
54101a1c9b
lexer: reorganized JS_KEYWORDS
2010-10-12 16:25:33 +09:00
satyr
ac841ca4e9
nodes: object literals are now parenthesized based on @tags.front (which indicates if the node leads an expression statement), fixing #542
2010-10-12 11:26:55 +09:00
satyr
e5fe145f80
destructuring assignment no longer uses a temporary variable for simple LHS
2010-10-12 07:58:11 +09:00
satyr
f682bf642f
followup to #717 ; made new => actually work
2010-10-12 07:02:04 +09:00
Jeremy Ashkenas
a4b6b2464c
merging in sstephenson's test:browser
2010-10-11 16:55:17 -04:00
Jeremy Ashkenas
4f89245570
NEXT_ELLPSIS.test
2010-10-11 16:34:16 -04:00
Sam Stephenson
967fec2ae5
Merge branch 'master' into newline-splat
...
Conflicts:
lib/lexer.js
lib/parser.js
src/lexer.coffee
2010-10-11 12:12:13 -05:00
Jeremy Ashkenas
acc06d772a
Back four commits ... Fixing named function expressions -> function declarations for IE. (grumble grumble)
2010-10-11 12:13:01 -04:00
Sam Stephenson
f360fba47f
Add test:browser task for running the test suite against the merged browser script.
2010-10-11 09:42:13 -05:00
Jeremy Ashkenas
bfed78a996
rebuilding lexer
2010-10-11 08:06:27 -04:00
satyr
9c55bd59a1
fixed a bug where while condition was compiling as statement
2010-10-11 20:29:08 +09:00
satyr
e89d7a7756
lexer: fixed a regression where assignmentError wasn't fired
2010-10-11 19:10:30 +09:00
satyr
41cd0c272b
grouped TRUE/FALSE/NULL into BOOL
2010-10-11 17:05:50 +09:00
satyr
6506f6d99e
grammar: removed extra arrays
2010-10-11 16:06:29 +09:00
satyr
fffa01933d
fixed misdentation in a?.b = c
2010-10-11 12:31:54 +09:00
satyr
acafb1b53a
nodes: no longer uses helpers.indexOf
2010-10-11 09:40:41 +09:00
satyr
c437f0b14b
made until less parenful as well
2010-10-11 07:29:38 +09:00
Sam Stephenson
20a07c174c
Fixing splats after newlines - #754 .
2010-10-10 11:34:22 -05:00
Sam Stephenson
6e6165796c
noWrap: true -> wrap: false
2010-10-10 11:55:01 -04:00
Jeremy Ashkenas
f6ca5d814c
Issue #748 -- trailing reserved idenitifer.
2010-10-10 11:42:25 -04:00
Jeremy Ashkenas
45ed62931b
#749 -- adding CoffeeApp mention
2010-10-10 11:33:03 -04:00
Jeremy Ashkenas
9c54291d04
Merge branch 'master' of github.com:jashkenas/coffee-script
2010-10-10 11:29:29 -04:00
Jeremy Ashkenas
e8d592cdc6
Fixing issue #751 ... implicit number arguments within implicit object literals.
2010-10-10 11:29:14 -04:00
satyr
24a0015148
lexer: made REGEX more accurate
2010-10-10 07:32:49 +09:00
satyr
b0e34edf99
soak accesses no longer consume corresponding operators
2010-10-10 07:10:20 +09:00
satyr
c5f922c5db
coffee-script: tokens/nodes can now take options as well
2010-10-09 04:27:05 +09:00
satyr
ebdd57a2fe
rewriter: detectEnd no longer passes undefined as token, fixing #750
2010-10-09 04:00:07 +09:00
Jeremy Ashkenas
b21057d166
fixing issue #745 ... precedence of huh operator.
2010-10-07 22:22:33 -04:00
satyr
4f486bc444
removed YES/NO/ON/OFF from rewriter/parser
2010-10-08 00:56:01 +09:00
satyr
9447796d8e
made unless less parenfull
2010-10-07 20:05:22 +09:00
satyr
c7157ca90c
quit caching v in for all k of v
2010-10-07 15:31:40 +09:00
satyr
250ec12646
Parenthetical -> Parens
2010-10-07 12:59:36 +09:00
satyr
2d9cff3af6
nodes: removed literal helper
2010-10-07 12:41:09 +09:00
satyr
95bc4c5eeb
reenabled stricter caching on For compilation as well as reduced a line from it
2010-10-07 12:31:05 +09:00
Jeremy Ashkenas
30a18fdaeb
Removed the silly 'Node' suffix from everything.
2010-10-06 22:44:32 -04:00
Jeremy Ashkenas
13774cf48a
empty returns no longer return null
2010-10-06 22:24:52 -04:00
Jeremy Ashkenas
69d2048ccc
Re-enabling garbage collection of tempvars, only at function boundaries.
2010-10-06 21:19:05 -04:00
Jeremy Ashkenas
d4dac214ab
optimizing comprehensions source references
2010-10-06 21:13:11 -04:00