Sebastian McKenzie
2debaf0f5e
v0.11.1-17
2015-01-18 12:14:49 +11:00
Sebastian McKenzie
7c3a487355
fix exponentiation tests
2015-01-18 12:13:38 +11:00
Sebastian McKenzie
c210d64557
add loose all option
2015-01-18 12:13:08 +11:00
Sebastian McKenzie
a0f605bbab
add way to automatically write expected tests
2015-01-18 12:12:58 +11:00
Sebastian McKenzie
f4b2768194
add todo note to duplicate expression
2015-01-18 12:12:32 +11:00
Sebastian McKenzie
95d9f59668
add loose mode to spread and destructuring
2015-01-18 12:12:12 +11:00
Sebastian McKenzie
a0a20f9fb2
fix styling in right associative
2015-01-18 10:38:13 +11:00
Sebastian McKenzie
a189dbdcef
Merge pull request #19 from charliesome/fix-right-associative-parse
...
Fix right associative parse precedence
2015-01-18 10:36:12 +11:00
Charlie Somerville
30e9978ffb
pass minPrec when right recursing rather than prec - 1
2015-01-18 10:34:34 +11:00
Sebastian McKenzie
c41d799b9b
Merge pull request #522 from fabiomcosta/lint_fixes
...
Fixes lint warnings that are blocking test run
2015-01-18 10:21:12 +11:00
Fabio M. Costa
e7d4642d48
Fixes lint warnings that are blocking test run
2015-01-17 14:19:54 -08:00
Marijn Haverbeke
dac747dfa9
Add a test for issue #201
2015-01-17 22:26:34 +01:00
Marijn Haverbeke
3e513fc6a8
Kill finishNodeAt in acorn_loose as well
...
Issue #200
2015-01-17 22:22:26 +01:00
Ingvar Stepanyan
6dee98d1b9
Adapt ES6 template handling to new tokenizer.
...
Avoid need for:
* extra `templates` array in favor of new `tokContext`;
* special location handling for first & last template elements;
* separate `_templateContinued` token in favor of same `_template`.
Adds:
* token types for backQuote and dollarBraceL instead of skipping them
so they can be handled (i.e. highlighted differently).
2015-01-17 22:21:22 +01:00
Sebastian McKenzie
41949fd58b
push uids to scope tracking - fixes #515
2015-01-18 02:36:37 +11:00
Sebastian McKenzie
d0dc972840
fix up formatting in traverse
2015-01-18 02:35:19 +11:00
Sebastian McKenzie
621e66e9ac
add private declaration and comprehension expression support to scope tracking and id building
2015-01-18 02:35:08 +11:00
Sebastian McKenzie
529544ce0e
use generateUidIdentifier instead of generateUid
2015-01-18 01:16:09 +11:00
Sebastian McKenzie
f298cd3f0f
allow single idents in binary assignment operator transformer
2015-01-18 01:15:35 +11:00
Sebastian McKenzie
bdb8e57283
add extra exponentiation operator test
2015-01-18 00:55:12 +11:00
Sebastian McKenzie
572b98b6b9
Merge pull request #18 from charliesome/pow-associativity
...
Fix ** operator associativity
2015-01-18 00:46:24 +11:00
Charlie Somerville
b51118c3fc
use right recursion for right associative operators
2015-01-18 00:44:17 +11:00
Charlie Somerville
5f42326f34
set the rightAssociative flag on _exponent
2015-01-18 00:44:14 +11:00
Sebastian McKenzie
67029ac8e8
better helpers for assignment operators
2015-01-18 00:37:51 +11:00
Sebastian McKenzie
f558bd7db4
remove acorn csp from repo
2015-01-18 00:28:13 +11:00
Sebastian McKenzie
1322501276
add make build task
2015-01-18 00:25:01 +11:00
Sebastian McKenzie
58f84e595f
add more exponentation operator tests
2015-01-18 00:24:48 +11:00
Sebastian McKenzie
dc197cecf7
add acorn_csp.js to gitignore
2015-01-18 00:24:28 +11:00
Sebastian McKenzie
b54800234f
clean up conditional assignment operator transformers
2015-01-17 22:56:49 +11:00
Sebastian McKenzie
ecd85f53b4
Merge pull request #516 from jridgewell/mallot
...
Playground Proposal: Mallet operator
2015-01-17 21:59:23 +11:00
Sebastian McKenzie
8aa74ab845
Merge pull request #17 from jridgewell/mallot
...
Support Mallet operator
2015-01-17 21:58:48 +11:00
Sebastian McKenzie
9098852897
abstract out classes super replace
2015-01-17 18:53:49 +11:00
Sebastian McKenzie
3eb4d5b466
fix up styling of #518
2015-01-17 18:53:40 +11:00
Sebastian McKenzie
ddb1c718f1
Merge pull request #518 from gaearon/perf-v8
...
RFC: V8-specific performance impovements
2015-01-17 18:33:35 +11:00
Sebastian McKenzie
8919873ea1
clean up react/jsx transformer
2015-01-17 18:26:14 +11:00
Sebastian McKenzie
eb9cd95d5a
update for head tests
2015-01-17 17:54:04 +11:00
Sebastian McKenzie
4ec701fc44
ignore variable declarations inside loop head in newline generation - fixes #519
2015-01-17 17:44:16 +11:00
Dan Abramov
ff9511d435
Proof of concept of how traversal would look like with state parameter
2015-01-17 05:03:23 +03:00
Justin Ridgewell
ac5a6da1fa
Use all falsey values
2015-01-16 19:25:28 -05:00
Justin Ridgewell
616640a128
Playground Proposal: Mallet operator
...
The mallet operator is similar to the current memoization operator,
except it can be used outside of just objects.
In Ruby, it’s almost the same as `a = a || b`. Note that only `nil` and
`false` are falsey in Ruby. I’ve defined it as `== null`, though that
could be changed to any JS falsey value.
2015-01-16 18:57:15 -05:00
Justin Ridgewell
856571e948
Support Mallet operator
...
The mallet will check to see if the variable is falsey, and if
it is, override it. It's almost the same as `a = a || b`.
Re: 6to5/6to5#516
2015-01-16 18:28:25 -05:00
Sebastian McKenzie
1f9ce96e43
fix rest parameter array size error in rest parameter comment
2015-01-17 10:27:01 +11:00
Sebastian McKenzie
dc6a862bec
better clarification of rest parameter size construction comment
2015-01-17 10:23:53 +11:00
Sebastian McKenzie
196ab15f80
Merge pull request #16 from kossnocorp/acorn-6to5/fix_test
...
Turn on playground for `"obj ?= 2"`
2015-01-17 10:08:53 +11:00
Dan Abramov
f9480b5280
Avoid closures when traversing
2015-01-17 00:13:39 +03:00
Dan Abramov
8dc4996547
Refactor traversal into smaller methods
2015-01-17 00:13:39 +03:00
Dan Abramov
4f01f67dd6
Avoid delete in favor of null assignment to prevent deoptimizations
2015-01-17 00:13:39 +03:00
Dan Abramov
938026abeb
Use toFastProperties to speed up t.* method access
2015-01-17 00:13:38 +03:00
Sasha Koss
ff769780ea
Turn on playground for "obj ?= 2"
...
Without it fail with different issue, doesn’t connected to real case:
`Got error message: Unexpected token (1:5)`.
2015-01-16 20:09:07 +05:30
Sebastian McKenzie
76b8945207
v2.12.6
v2.12.6
2015-01-16 22:52:12 +11:00