Jeremy Ashkenas
|
c0a89a7988
|
Fixing issue #700, block comment after first line of class definition.
|
2010-09-21 23:13:46 -04:00 |
|
satyr
|
e4b7d06f35
|
removed browser specific hacks from src/* by making "rake browser" provide fake require and exports
|
2010-09-21 18:37:44 +09:00 |
|
satyr
|
b19c004680
|
made wrapper function keep current this
|
2010-09-21 16:53:58 +09:00 |
|
Jeremy Ashkenas
|
a16594ed7b
|
Merging in Stan's temporary_junk improvements.
|
2010-09-20 22:13:08 -04:00 |
|
Jeremy Ashkenas
|
f7fce3cd68
|
tweaking compiled tempvar names to satisfaction.
|
2010-09-20 21:56:18 -04:00 |
|
Stan Angeloff
|
99a06ce4ea
|
Updating name for cached length temporary variables to '_length', 'length2', and
so on.
|
2010-09-20 08:42:31 +03:00 |
|
Stan Angeloff
|
31441868e0
|
Allowing temporary variables to be reused.
|
2010-09-19 19:34:27 +03:00 |
|
Jeremy Ashkenas
|
5d82dddfb1
|
merging in Stan's temporary variables.
|
2010-09-19 12:00:16 -04:00 |
|
Jeremy Ashkenas
|
15d84dbb4e
|
Fixing issue #694. Destructuring assignment as first line of implicitly called block -- regression.
|
2010-09-19 09:04:38 -04:00 |
|
Stan Angeloff
|
bb35b3e3b2
|
Re-compiling core with new changes. All tests pass.
|
2010-09-19 15:29:15 +03:00 |
|
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 |
|