강동윤
1368a4a281
Fix #227
2019-02-18 15:05:58 +09:00
강동윤
2b7240c595
Support export * as Foo from 'foo';
( #228 )
...
swc_ecma_parser:
- support `export * as Foo from 'foo';` (Fix #226 )
swc_ecma_transforms:
- support `export * as Foo from 'foo';` (Fix #226 )
2019-02-18 14:01:56 +09:00
강동윤
523307a5da
FIx #225
2019-02-18 12:19:40 +09:00
강동윤
d8f9101b30
Fix #227
2019-02-18 11:15:04 +09:00
강동윤
3fc360d870
Make sourcemap optional
2019-02-17 23:25:35 +09:00
강동윤
a00d281704
Make Optional
pass
2019-02-17 17:52:48 +09:00
강동윤
e419d7d378
Cache react config ( #224 )
...
swc_ecma_transforms:
- global codemap / parser session for config parsing
- cache parsing result of react pass
- InjectHelpers pass does not require source map
2019-02-17 17:11:21 +09:00
강동윤
bbfcca8f2b
External helpers ( #223 )
...
swc_ecma_transforms
- support extenal helpers (#155 )
2019-02-17 13:48:18 +09:00
강동윤
33ab0db712
Fix travis ( #222 )
...
swc_common:
- ignore copied doctests
swc_ecma_transforms:
- fox some tests
2019-02-16 18:58:29 +09:00
강동윤
046788cf78
Add option to disable module analyzer
2019-02-16 14:27:24 +09:00
강동윤
1a1889f437
Fix bugs ( #221 )
...
swc_ecmascript_parser:
- fix parsing of `export default from 'src';`
swc_ecmascript:
- add a pass which allows injecting helpers before the module pass
2019-02-16 14:18:22 +09:00
강동윤
2a094e42db
Update link to node package
2019-02-15 20:24:00 +09:00
강동윤
9108ba7bb7
Don't inline process.env.x if x is not registered as global.
...
Fix #215 .
2019-02-15 14:06:16 +09:00
강동윤
ad49de35b3
Handle foo && yield bar
( #218 )
...
Fix #216 .
2019-02-15 13:58:10 +09:00
강동윤
1d865b9979
Strip type-only imports ( #217 )
...
swc_ecma_transforms:
- strip type-only imports (#179 )
2019-02-15 12:14:28 +09:00
강동윤
34fff56462
Add a test for #211 .
...
Closes #211 .
2019-02-14 21:17:01 +09:00
강동윤
9bd7a9c484
Perfect fixer ( #212 )
...
swc_ecma_transforms:
- test fixer using test262
- make fixer perfect
2019-02-14 21:12:05 +09:00
강동윤
b76c4f26e6
Fix #210 .
2019-02-14 17:46:22 +09:00
강동윤
10e7c9821a
Fix backer link
2019-02-14 16:36:57 +09:00
강동윤
e20998d69b
FIx #209
2019-02-14 16:06:54 +09:00
강동윤
631eff9e8c
Bugfixes ( #208 )
...
swc_ecma_codegen:
- fix codegen of shebang (#177 )
- add test for #197 .
swc_ecma_transforms:
- fix object rest spread pass (#162 )
2019-02-14 13:24:01 +09:00
강동윤
b27829825e
Fix Bugs ( #205 )
...
swc_ecma_codegen:
- escape characters (#204 )
swc_ecma_parser:
- fix parsing of `<!--`
swc_ecma_transforms:
- promote VarCollector to crate-level utility
- fix es3::member_expr_lits (#206 )
- fix es2015::duplicate_keys pass (#203 )
- improve fixer (paren for assignment) (#201 )
- improve fixer (arrow expression) (#207 )
- make typescript pass strip out type-only exports (#196 )
2019-02-14 11:03:06 +09:00
강동윤
c1a3cc53c1
React jsx / improve fixer ( #202 )
...
swc_ecma_parser:
- fix parsing of jsx
swc_ecma_transforms:
- fix fixer (#199 )
2019-02-13 19:12:00 +09:00
강동윤
4bab61d0d0
Fix link
2019-02-13 18:28:47 +09:00
강동윤
4e2406c616
Include backers in readme
2019-02-13 18:25:19 +09:00
강동윤
c647cf1bc0
Fix bugs ( #193 )
...
swc_ecma_parser:
- fix lexer
- better error reporting for jsx reference test
swc_ecma_codegen:
- Update references
2019-02-13 16:03:38 +09:00
강동윤
fedfea4e09
Fix #190
2019-02-13 14:24:44 +09:00
강동윤
a13e6a09b5
Fix #185 ( #187 )
...
swc_ecma_transforms:
- handle imports correctly (in rhs of assignment)
2019-02-13 12:32:12 +09:00
강동윤
74858c3b66
Fix #167 ( #186 )
2019-02-13 11:56:45 +09:00
강동윤
bf128d295f
Add test for #182 .
...
Closes #182 .
2019-02-13 11:33:28 +09:00
강동윤
2d062432a8
Shebang & small improvement for object rest spread ( #184 )
...
swc_ecma_ast:
- handle shebang
swc_ecma_codegen:
- handle shebang
swc_ecma_parser:
- handle shebang
swc_ecma_transforms:
- fix arrow expression used with object rest spread
2019-02-13 11:08:21 +09:00
강동윤
f797019b79
Use strict ( #183 )
...
swc_ecma_parser:
- fix parsing of use strict without semicolon.
swc_ecma_transforms:
- emit helpers after use strict.
2019-02-13 08:44:54 +09:00
강동윤
fc661f24f0
Bugfixes ( #182 )
...
swc_ecma_ast:
- rename ast to be consistent
2019-02-13 08:18:19 +09:00
강동윤
cc36bbe3ad
Add tests for #169 .
2019-02-12 22:18:14 +09:00
강동윤
17d87e3ce5
Remove println
2019-02-12 22:09:41 +09:00
강동윤
bd219688ac
Typescript bugs ( #170 )
...
swc_ecma_parser:
- fix parsing of cond expression (Closes #158 )
- fix parsing of function signature (Closes #159 )
2019-02-12 22:05:46 +09:00
강동윤
227423d5f6
Export default from & fix codegen of imports ( #168 )
...
swc_ecma_ast:
- Support `export v from 'foo';`
swc_ecma_parser:
- Support `export v from 'foo';`
swc_ecma_codegen:
- Fix codegen of side-effect imports
2019-02-12 15:30:11 +09:00
강동윤
45e78e40d4
Amd & Correct named exports ( #165 )
2019-02-12 11:41:08 +09:00
강동윤
a0c6b4458e
Revert "Amd & Fix for exports ( #164 )" ( #166 )
...
This reverts commit 8c5c7b55b7
.
2019-02-12 11:40:36 +09:00
강동윤
8c5c7b55b7
Amd & Fix for exports ( #164 )
...
swc_ecma_transforms:
- correctly tracks exported names.
- Implement amd
Fix #162
2019-02-12 11:23:19 +09:00
Nate Mara
42f94a3f24
Remove HERE eprintln ( #161 )
2019-02-12 06:24:12 +09:00
강동윤
d98219cd42
Reduce vtable size of Pass.
2019-02-11 19:11:14 +09:00
JongChan Choi
7fc46fea70
Update ARCHITECTURE.md ( #156 )
2019-02-11 17:50:06 +09:00
강동윤
7fe2245a3d
Cleanup ( #152 )
...
- replace Lrc with std::sync::Arc
swc_common:
- make swc_common::sync private
- improve MoveMap
swc_ecma_codegen:
- fix codegen of import.
swc_ecma_transforms:
- properly detect valid identifier.
swc_ecma_parser:
- Fix parsing of cond expr inside paren.
2019-02-11 11:39:20 +09:00
Adrian Adamiak
c2142bc225
Remove a leftover ( #149 )
...
Remove unused variable from colors.js
2019-02-11 09:40:53 +09:00
nateroling
5afed275f1
Typo correction ( #150 )
...
Fix a couple comment typos.
2019-02-11 09:40:28 +09:00
Hans Ott
77fe1f5371
Fix link to docs ( #144 )
2019-02-11 09:39:54 +09:00
강동윤
ab4f619257
Fix tests ( #142 )
2019-02-10 20:49:29 +09:00
강동윤
605019280f
Fix parsing of import expression
2019-02-10 14:33:21 +09:00
강동윤
b1bf99c67c
improve error messages
2019-02-10 12:26:27 +09:00