Sebastian McKenzie
5eb2462e29
fix up semicolons for module ExportDeclaration generator
2014-11-14 00:54:28 +11:00
Sebastian McKenzie
9e285cdc20
remove unneccesary Literal generator raw
2014-11-14 00:54:12 +11:00
Sebastian McKenzie
01ade47af9
add single spread test
2014-11-14 00:54:00 +11:00
Sebastian McKenzie
b1fe449b0d
allow XJSElement and SequenceExpression to be user whitespacable
2014-11-14 00:53:45 +11:00
Sebastian McKenzie
2b458ec2d4
make it illegal to use destructuring outside of an ExpressionStatement
2014-11-14 00:53:10 +11:00
Sebastian McKenzie
d5f47f4f4d
generator: correctly output XJSEmptyExpression
2014-11-14 00:52:49 +11:00
Sebastian McKenzie
d4deb18975
support async functions in generator and move MethodDefinition to class generator
2014-11-14 00:52:36 +11:00
Sebastian McKenzie
5a794db73b
fix up let scoping transformer comments
2014-11-14 00:52:15 +11:00
Sebastian McKenzie
dc131f05a8
add comprehensive generation tests
2014-11-14 00:51:59 +11:00
Sebastian McKenzie
1d4f79790a
add brief usage to doc/index.md - thanks @gabrielecirulli ❤️
2014-11-13 23:31:51 +11:00
Sebastian McKenzie
6bcbaf6df1
better feature code examples
2014-11-13 19:00:08 +11:00
Sebastian McKenzie
bc199ef0c9
better api documentation
2014-11-13 18:59:59 +11:00
Sebastian McKenzie
f5fed99c81
better 6to5 tagline
2014-11-13 18:59:46 +11:00
Sebastian McKenzie
66a6d3cffe
add CONTRIBUTING.md
2014-11-13 18:59:29 +11:00
Sebastian McKenzie
39227486a6
add async to caveats
2014-11-13 14:47:39 +11:00
Sebastian McKenzie
caafa31df1
chagne ES6 to ES6+ when talking about 6to5 support
2014-11-13 14:47:32 +11:00
Sebastian McKenzie
4c41c904f5
v1.12.8
v1.12.8
2014-11-13 13:42:54 +11:00
Sebastian McKenzie
0917a6a5b1
better destructuring AssignmentExpression error message
2014-11-13 13:42:18 +11:00
Sebastian McKenzie
349eba33ce
add async functions to traceur differences
2014-11-13 13:40:54 +11:00
Sebastian McKenzie
8ff21b407d
temporarily forbid AssignmentExpression destructuring outside of ExpressionStatement
2014-11-13 13:40:41 +11:00
Sebastian McKenzie
751ea7a12c
v1.12.7
v1.12.7
2014-11-13 13:19:45 +11:00
Sebastian McKenzie
b30cd227cc
update acorn-6to5 - fixes #153
2014-11-13 13:18:59 +11:00
Sebastian McKenzie
b3c4ca26fa
Merge branch 'async-await' of https://github.com/sebmck/acorn
2014-11-13 13:17:10 +11:00
Sebastian McKenzie
2506be7b1a
Add support for exporting async functions
2014-11-13 13:16:49 +11:00
Sebastian McKenzie
18dc7b8143
v1.12.6
v1.12.6
2014-11-13 12:55:39 +11:00
Sebastian McKenzie
1c628bbec1
disable generation/comments/comment-only test
2014-11-13 12:53:38 +11:00
Sebastian McKenzie
d4c3dde02a
update to latest acorn-6to5
2014-11-13 12:49:29 +11:00
Sebastian McKenzie
e58be3b8bb
Merge branch 'master' of https://github.com/marijnh/acorn
...
Conflicts:
acorn.js
test/run.js
2014-11-13 12:48:14 +11:00
Sebastian McKenzie
a587106a6b
v1.12.5
v1.12.5
2014-11-13 12:26:16 +11:00
Sebastian McKenzie
9c1b60e451
fix excessive whitespace trimming resulting in innaccurate sourcemap line - fixes #151
2014-11-13 12:25:11 +11:00
Rich Harris
f48a921e24
allow export { default } from "foo"
2014-11-12 17:42:55 +01:00
Marijn Haverbeke
98691e5b80
Properly initialize top node start position
2014-11-12 17:31:45 +01:00
Sebastian McKenzie
0c7e0b65b9
add browser support, array comprehension, async functions and generator comprehension to differences table
2014-11-13 03:24:45 +11:00
Marijn Haverbeke
249e6961f8
Make tests pass for loose parser
...
Define Program node extent to be the whole program, make
both parser and the tests conform to this.
Fix a bunch of bugs in the loose parser's handling of corner
cases.
Issue #151
2014-11-12 17:05:19 +01:00
Ingvar Stepanyan
bc64d3c5f4
Add support for nested groups in log (Chrome console + browser).
2014-11-12 16:19:16 +01:00
Ingvar Stepanyan
96ccdb05fa
Web-driver support for loose parser + small fixes.
...
* Added support for acorn_loose and grouped log to web-driver.
* Removed unused copy-pasted `parseTemplate` from loose parser.
* Throw non-SyntaxError errors immediately (as those are generic).
2014-11-12 16:19:16 +01:00
Ingvar Stepanyan
6bf8311061
Loose: fix #33 .
2014-11-12 16:19:16 +01:00
Ingvar Stepanyan
2419de74dc
Loose: Fix regex after tokenizer changes in #144 .
2014-11-12 16:19:16 +01:00
Ingvar Stepanyan
fc2e96fa01
Loose: respect optional semicolons in break/continue/class/import/export.
2014-11-12 16:19:16 +01:00
Ingvar Stepanyan
d4565fed53
Loose: ES6 import, export.
...
Removed "kind" from tests for ES6 import/export as it's
left only for backward compatibility.
2014-11-12 16:19:15 +01:00
Ingvar Stepanyan
4647f966eb
Loose: don't silently skip missed elements in expr list.
2014-11-12 16:19:15 +01:00
Ingvar Stepanyan
aa96edf769
Loose: support for-of without var.
2014-11-12 16:19:15 +01:00
Ingvar Stepanyan
1589a959fa
Loose: yield support.
2014-11-12 16:19:15 +01:00
Ingvar Stepanyan
80f8d527ff
Loose: Skip ES7 tests as we are targeting ES6 now.
2014-11-12 16:19:15 +01:00
Ingvar Stepanyan
bdce88c184
Loose: for-of statement.
2014-11-12 16:19:15 +01:00
Ingvar Stepanyan
992fc0503d
Loose: arrow functions.
2014-11-12 16:19:15 +01:00
Ingvar Stepanyan
ede10a079c
Loose: class support.
2014-11-12 16:19:15 +01:00
Ingvar Stepanyan
c6b6ef389e
Loose: Remove own tabSize initialization in favor of defaultOptions.
2014-11-12 16:19:15 +01:00
Ingvar Stepanyan
9cdc6809ce
Loose: fix pattern+defaults case in function params.
2014-11-12 16:19:15 +01:00
Ingvar Stepanyan
b46b53e149
Loose: implement object methods; expose processed options from acorn.
2014-11-12 16:19:15 +01:00