Jeremy Ashkenas
|
60f80e2698
|
Fixing the double-implicit-call-into-implicit-object problem.
|
2010-09-15 22:29:03 -04:00 |
|
Jeremy Ashkenas
|
f0d778ce49
|
moving addImplicitBraces and addImplicitParentheses next to each other ... perhaps they should interleave.
|
2010-09-14 22:57:01 -04:00 |
|
Jeremy Ashkenas
|
70cfd54ad4
|
Issue #670. 'THIS' tokens should trigger an implicit call.
|
2010-09-08 20:15:16 -04:00 |
|
Jeremy Ashkenas
|
eb9a524ea1
|
Adding unmatched 'then' to the list of things that closes a single-line implicit call early. Issue #611.
|
2010-08-30 22:04:13 -04:00 |
|
Jeremy Ashkenas
|
0caa731291
|
re-enabling the mis-dented call case. Issue #657
|
2010-08-30 20:59:16 -04:00 |
|
Timothy Jones
|
9598b11c77
|
Existence functions now parsing.
|
2010-08-26 06:31:56 +12:00 |
|
Jeremy Ashkenas
|
13adc44867
|
Issue #633. 'not instanceof'
|
2010-08-21 08:56:25 -04:00 |
|
Jeremy Ashkenas
|
098caa9979
|
Revert "Fixes Issue #618. Close implicit arguments in the middle of param lists."
This reverts commit 474c372b17.
|
2010-08-18 20:39:55 -04:00 |
|
Jeremy Ashkenas
|
f41ca2e5e8
|
a touch of safety from trailing catches falling off the end of the rewriter.
|
2010-08-17 20:04:34 -04:00 |
|
Jeremy Ashkenas
|
474c372b17
|
Fixes Issue #618. Close implicit arguments in the middle of param lists.
|
2010-08-16 21:19:34 -04:00 |
|
Jeremy Ashkenas
|
027b9e9dc3
|
simplifying generated output for unless/is to (a isnt b) instead of not (a is b). Ticket #617
|
2010-08-15 15:13:33 -04:00 |
|
Jeremy Ashkenas
|
7a0d95c612
|
Issue #575. Allowing implicit objects to force implicit calls.
|
2010-08-14 19:56:00 -04:00 |
|
Jeremy Ashkenas
|
975b82f09b
|
Issue #609. Slightly faster implementation of ||= and &&=
|
2010-08-14 18:02:07 -04:00 |
|
Jeremy Ashkenas
|
f496cc229b
|
Further reducing amount of redundant parentheses.
|
2010-08-14 17:52:37 -04:00 |
|
Jeremy Ashkenas
|
9894eeb8e9
|
Improving double-parentheses suppression. Issue #587
|
2010-08-14 17:43:58 -04:00 |
|
Jeremy Ashkenas
|
6555d86328
|
Adding a jsl.conf configuration file for JavaScript lint, and switching to == null for soaks, accordingly.
|
2010-08-14 16:02:01 -04:00 |
|
Jeremy Ashkenas
|
ca18f1fad6
|
Core Compiler is JSLint-free again, after removing a couple extra semicolons that snuck in when if statements compiled at the top level.
|
2010-08-14 11:42:19 -04:00 |
|
Jeremy Ashkenas
|
8c45aa480b
|
Reduced the time it takes to build the grammar from 80 seconds to 15, by consolidating Operation terminals by precedence level.
|
2010-08-11 23:04:33 -04:00 |
|
Jeremy Ashkenas
|
ba02ebc3dc
|
Fixes Issue #603 -- a longstanding precedence issue involving prefix vs postfix if and unless, involving using the entire single-line if statment as an expression.
|
2010-08-11 21:28:22 -04:00 |
|
Jeremy Ashkenas
|
ac752a46bc
|
removing bound functions from the Rewriter.
|
2010-08-11 21:07:47 -04:00 |
|
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 |
|