Jeremy Ashkenas
|
6c997978bc
|
CoffeeScript 0.9.1 is on the books.
|
2010-08-11 00:40:15 -04:00 |
|
Jeremy Ashkenas
|
5bdf78d5ec
|
Fixes Issue #573. Herecomments inside of class literals.
|
2010-08-10 23:02:24 -04:00 |
|
Jeremy Ashkenas
|
60a4138d50
|
refactor to simplify scanTokens method in Rewriter.
|
2010-08-10 22:56:21 -04:00 |
|
Jeremy Ashkenas
|
c2ec40e6ce
|
Fixes Issue #542. Ensure that top-level objects are parenthesized. It's not valid code, but we might as well not SyntaxError out.
|
2010-08-10 22:16:51 -04:00 |
|
Jeremy Ashkenas
|
87fd05afb0
|
New implementation of Rewriter#addImplicitIndentation, using Rewriter#detectEnd
|
2010-08-10 22:05:01 -04:00 |
|
Jeremy Ashkenas
|
45b5bae7d7
|
New implementation of Rewriter#addImplicitParentheses, using Rewriter#detectEnd
|
2010-08-10 21:46:46 -04:00 |
|
Jeremy Ashkenas
|
d0b918e083
|
New implementation of Rewriter#addImplicitBraces -- uses detectEnd..
|
2010-08-10 21:13:30 -04:00 |
|
Jeremy Ashkenas
|
3eda5a2e85
|
prefer the include() helper to 'in', except for array literals.
|
2010-08-08 17:41:10 -04:00 |
|
Jeremy Ashkenas
|
18d6fd72de
|
First step of the general rewriter refactor. Added a generic 'detectEnd' function which is expression-pair sensitive. Use it to reimplement closeOpenCallsAndIndexes
|
2010-08-08 17:37:28 -04:00 |
|
Jeremy Ashkenas
|
0ada5a7734
|
Issue #587 ... Removing the Attempted Removal of Erroneous Double Parens.
|
2010-08-07 08:13:36 -04:00 |
|
Jeremy Ashkenas
|
9df3e6a538
|
first step towards requiring #{ ... } interpolation -- removing naked interps from the compiler.
|
2010-08-07 08:02:16 -04:00 |
|
Jeremy Ashkenas
|
17bf3b7115
|
be more flexible about trailing commas in implicit object literals.
|
2010-08-04 23:25:30 -04:00 |
|
Jeremy Ashkenas
|
acd69b1c70
|
Fixing issue #544. Needed to special case implicit-object-closing for outdents -- it's different than a single-line implicit object with a terminator.
|
2010-07-30 22:50:35 -04:00 |
|
Jeremy Ashkenas
|
af451bc530
|
tiny thing.
|
2010-07-29 21:59:12 -04:00 |
|
Jeremy Ashkenas
|
cc7b0f2e8f
|
Allowing classes to be better decorated with implicit calls. Issue #548
|
2010-07-27 07:03:44 -04:00 |
|
Jeremy Ashkenas
|
55a0e1d2ff
|
making inline implicit objects more flexible ... can be used with trailing blocks.
|
2010-07-26 21:39:43 -04:00 |
|
Jeremy Ashkenas
|
6b0418a74a
|
merging master changes into symbology
|
2010-07-25 00:15:12 -07:00 |
|
Jeremy Ashkenas
|
d1ffffab04
|
Using an experimental version of new optional-brace object literals.
|
2010-07-24 23:42:37 -07:00 |
|
Jeremy Ashkenas
|
492ee57b8f
|
finished basic port to equality of the compiler
|
2010-07-24 21:36:21 -07:00 |
|
Jeremy Ashkenas
|
e41abe2d83
|
Changing implementation of bound functions to mirror sethaurus' suggestion for cleaner output. Issue #530. Tests pass.
|
2010-07-23 22:34:56 -07:00 |
|
Jeremy Ashkenas
|
8262070f5c
|
fixing extra spaces in nested empty functions. Issue #527
|
2010-07-22 14:08:07 -07:00 |
|
Jeremy Ashkenas
|
9c4164e7a3
|
removing unnecessary parens from the setup part of a range comprehension. Issue #528
|
2010-07-22 10:37:13 -07:00 |
|
Jeremy Ashkenas
|
5a34f53689
|
enhancements to range comprehensions, back to being safe -- and usable downwards without a 'by' clause, and optimized when working with integer literals.
|
2010-07-17 18:45:29 -04:00 |
|
Jeremy Ashkenas
|
6c8eab7af5
|
michaelficarra's suggestion to make object comprehensions' hasOwnProperty check a continue, instead of a wrapped if.
|
2010-07-16 22:31:36 -04:00 |
|
Jeremy Ashkenas
|
4eed514e37
|
Fixing (at least partially) Issue #502. Trailing block comment parse.
|
2010-07-15 08:50:49 -04:00 |
|
Jeremy Ashkenas
|
0337dc23c3
|
Fix for Issue number 501 ...
|
2010-07-14 09:40:07 -04:00 |
|
Jeremy Ashkenas
|
6a059bfab7
|
fixing issue #497 try/catch/finally all empty.
|
2010-07-13 23:33:59 -04:00 |
|
Jeremy Ashkenas
|
15a2b7d69a
|
Fixing issue number #486 (which is debatable). Allowing an unparenthesized if/else ternary as a trailing parameter to a call.
|
2010-07-10 14:52:54 -04:00 |
|
Jeremy Ashkenas
|
577daf5457
|
fixing herecomment/indentation bugaboo ... issue #474
|
2010-07-06 22:20:42 -04:00 |
|
Jeremy Ashkenas
|
e281133f12
|
fixing empty catch clauses ... Issue #470
|
2010-07-04 12:50:04 -04:00 |
|
Jeremy Ashkenas
|
77a75ed365
|
adding passed-through block comments back to the grammar/lexer/rewriter/nodes ... thanks, Trevor Burnham.
|
2010-07-01 21:26:33 -04:00 |
|
Jeremy Ashkenas
|
08ab4abd43
|
removing obvious redundant parentheses.
|
2010-06-27 23:55:18 -04:00 |
|
Jeremy Ashkenas
|
24676eea71
|
Fixing commented-out if-clauses or empty if-clauses.
|
2010-06-27 13:19:23 -04:00 |
|
Jeremy Ashkenas
|
ec570c46bf
|
Big commit. First draft of stripping comments from generated JS output. Issue #41
|
2010-06-27 12:59:54 -04:00 |
|
Jeremy Ashkenas
|
698784e103
|
fixing issue #454 single-line function with single-line if/else
|
2010-06-26 17:20:13 -04:00 |
|
Jeremy Ashkenas
|
f7345ffaac
|
removing extensions from CoffeeScript
|
2010-06-26 13:36:31 -04:00 |
|
Jeremy Ashkenas
|
b7faa4a7f2
|
using the new in-tests for the Rewriter.
|
2010-06-21 23:54:43 -04:00 |
|
Jeremy Ashkenas
|
0fcfb80be4
|
switching 'a in b' to 'a of b', and adding an array presence check for 'a in b'.
|
2010-06-21 23:51:12 -04:00 |
|
Jeremy Ashkenas
|
38a9b7166b
|
Adding TrevorBurnham's suggestion for 'a not in b'
|
2010-06-21 22:25:28 -04:00 |
|
Jeremy Ashkenas
|
b61399fbde
|
fixing issue #396 ... issue with nested if/elses getting mis-nested.
|
2010-06-12 19:38:14 -04:00 |
|
Jeremy Ashkenas
|
e14f4c5db1
|
First draft of switching the CoffeeScript Compiler over to camelCase. Pour one on the ground for underscores...
|
2010-06-12 19:05:13 -04:00 |
|
Jeremy Ashkenas
|
4b4b0e630e
|
yet another rewriter-based comment fix, this time for issue #403
|
2010-06-12 18:06:33 -04:00 |
|
Jeremy Ashkenas
|
d9071a80a0
|
Unsatisfactory patch that fixes Issue #394 ... comments that prefix spaced out if/else clauses.
|
2010-06-12 17:41:46 -04:00 |
|
Jeremy Ashkenas
|
0222d90fa3
|
adding a 'loop' keyword to CoffeeScript. Takes an expression or a block. Runs it until you break or return out.
|
2010-06-12 12:15:53 -04:00 |
|
Jeremy Ashkenas
|
c2d1ae06c5
|
removing the <- bind operator from CoffeeScript...
|
2010-06-12 11:00:56 -04:00 |
|
Jeremy Ashkenas
|
b3d1c238eb
|
fixing block comments at the top of function blocks, and in other locations ... Issue #379
|
2010-06-01 23:56:10 -04:00 |
|
Jeremy Ashkenas
|
45f442bd73
|
allowing Klass::['dynamic-property'] syntax. Issue #392
|
2010-05-31 22:32:43 -04:00 |
|
Jeremy Ashkenas
|
b8a4adbdc7
|
whitespace adjustments
|
2010-05-31 19:54:28 -04:00 |
|
Jeremy Ashkenas
|
7402aea9f2
|
cleaner generated code for range comprehensions, but you have to use an explicit step to go downwards. Forked the code path for cleaner range literals as well.
|
2010-05-31 19:38:45 -04:00 |
|
Jeremy Ashkenas
|
90f96af720
|
Simpler stab at a fix for issue #397. Allow CoffeeScript-only keywords to be used as accessors, or in assignment.
|
2010-05-31 14:42:30 -04:00 |
|