Timothy Jones
|
d096f69c78
|
Implemented rescoping with the do keyword.
|
2010-10-25 00:02:39 +13:00 |
|
satyr
|
ebdcfb5227
|
merged == and != into COMPARE
|
2010-10-24 03:30:16 +09:00 |
|
satyr
|
1335aee54b
|
783: corrected chained comparison precedence
|
2010-10-24 00:01:30 +09:00 |
|
satyr
|
2bc2c4717e
|
nodes: refactored and removed the notion of o.top in favor of LVL_TOP
|
2010-10-23 19:18:04 +09:00 |
|
satyr
|
b82f495ec7
|
nodes: introduced a notion of levels that streamlines parenthesizations
|
2010-10-23 19:17:56 +09:00 |
|
satyr
|
3df28a8a6a
|
reverted "lexer: simplified tokenizers' responsibility" with magic numbers removed
This reverts commit 10442239f1.
|
2010-10-22 23:50:44 +09:00 |
|
Jeremy Ashkenas
|
10442239f1
|
Revert "lexer: simplified tokenizers' responsibility"
This reverts commit a9e95fa43b.
|
2010-10-22 08:13:40 -04:00 |
|
satyr
|
a9e95fa43b
|
lexer: simplified tokenizers' responsibility
|
2010-10-22 14:56:51 +09:00 |
|
Jeremy Ashkenas
|
c92fd79f35
|
normalizing loop declarations towards common JS practice.
|
2010-10-21 21:51:06 -04:00 |
|
satyr
|
79148d2940
|
refactored loop variable caching
|
2010-10-22 02:07:00 +09:00 |
|
satyr
|
bd10c2f828
|
implemented for-from-to and removed dotted ranges
|
2010-10-21 23:06:50 +09:00 |
|
satyr
|
2f7c076a50
|
fixed a bug where in malfunctioned in commaed lists
|
2010-10-21 22:13:59 +09:00 |
|
Timothy Jones
|
f229f791a9
|
Proper testing, this time.
|
2010-10-21 14:37:58 +13:00 |
|
Timothy Jones
|
e694b41a94
|
Operators now respect new lines as being spaced.
|
2010-10-21 14:27:25 +13:00 |
|
satyr
|
31746ce692
|
made In node invertible
|
2010-10-21 09:19:52 +09:00 |
|
satyr
|
53fbfc7d15
|
removed extra parens from in/return compilations
|
2010-10-21 07:19:08 +09:00 |
|
satyr
|
c1dc74fc8b
|
removed extra parens from compilations with assignments or conditional operators
|
2010-10-21 02:29:06 +09:00 |
|
satyr
|
e2a6f292a2
|
nodes: refactored to reduce parens
|
2010-10-20 19:53:41 +09:00 |
|
Jeremy Ashkenas
|
303be86291
|
resolving merge conflict.
|
2010-10-19 23:31:19 -04:00 |
|
Jeremy Ashkenas
|
113d7ce98f
|
let's try to merge these indexOf patches.
|
2010-10-19 23:27:15 -04:00 |
|
satyr
|
2c84f3ed1f
|
removed helpers.{indexOf,include} in favor of in operator
|
2010-10-20 12:20:10 +09:00 |
|
satyr
|
90a13bd791
|
compound assignments are now represented as Assign nodes (rather than Op) and have the same precedence as =
|
2010-10-20 09:50:42 +09:00 |
|
Timothy Jones
|
cf5a086263
|
Removing accidental superfluous temp variables.
|
2010-10-20 04:07:10 +13:00 |
|
Timothy Jones
|
cb6be74851
|
Fixing for magic scoping issues. Small steps at a time.
|
2010-10-20 02:51:52 +13:00 |
|
Timothy Jones
|
c8b9c5a54e
|
Fixing #774. Strict equality operator, which wasn't supported in the grammar anyway, is removed from the lexer.
|
2010-10-19 20:56:55 +13:00 |
|
Timothy Jones
|
648d6432eb
|
Fixing #700. Block comment for constructor now appears above the constructor declaration.
|
2010-10-19 20:39:58 +13:00 |
|
satyr
|
87560d943c
|
lexer: made REGEX more efficient
|
2010-10-18 07:43:29 +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
|
8f29574b16
|
764: made boolean/number/regex indexable
|
2010-10-12 19:30:10 +09:00 |
|
satyr
|
54101a1c9b
|
lexer: reorganized JS_KEYWORDS
|
2010-10-12 16:25:33 +09:00 |
|
satyr
|
e5fe145f80
|
destructuring assignment no longer uses a temporary variable for simple LHS
|
2010-10-12 07:58:11 +09: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 |
|
Jeremy Ashkenas
|
bfed78a996
|
rebuilding lexer
|
2010-10-11 08:06:27 -04: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 |
|
Sam Stephenson
|
20a07c174c
|
Fixing splats after newlines - #754.
|
2010-10-10 11:34:22 -05: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 |
|
satyr
|
24a0015148
|
lexer: made REGEX more accurate
|
2010-10-10 07:32:49 +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
|
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
|
13774cf48a
|
empty returns no longer return null
|
2010-10-06 22:24:52 -04:00 |
|
Jeremy Ashkenas
|
59d6e59f97
|
Fixing Issue 730 -- and removing garbage collection of tempvars (which was totally unsafe.)
|
2010-10-06 20:54:08 -04:00 |
|
Jeremy Ashkenas
|
69b901a5b6
|
Fixing Issue #744 -- you can now use reserved words as static properties of a class.
|
2010-10-06 20:07:19 -04:00 |
|
satyr
|
2e6b50335f
|
lexer now distinguishes between IN/OF and FORIN/FOROF to help grammar, fixing #737
|
2010-10-06 04:46:17 +09:00 |
|