강동윤
9eab72f99f
Lint on push ( #465 )
...
Rust rustfmt and clippy on push
2019-11-24 22:01:47 +09:00
강동윤
fc9880e4f4
Bump parser's version
2019-11-24 14:42:08 +09:00
강동윤
b46c4ec300
Update dependencies ( #464 )
2019-11-24 14:17:27 +09:00
강동윤
7d4168f415
Parser performance ( #463 )
...
- Update string_cache from 0.7 to 0.8
- Update unicode_xid from 0.1 to 0.2
swc_ecma_parser:
- Add benchmarks for lexer
2019-11-23 23:03:19 +09:00
강동윤
fa941b3ea3
resolver: Handle arrow expression correctly ( #462 )
...
swc_ecma_transforms:
- resolver: Handle arrow expression correctly (#462 )
2019-11-23 19:14:52 +09:00
강동윤
8ec7a69572
Parser performance ( #459 )
...
- codegen-units = 1 for benchmarks
swc_ecma_parser:
- Add a benchmark for typescript lexer
- Remove dynamic dispatch in lexer
- Improve performance of typescript
2019-11-23 13:03:29 +09:00
강동윤
4a80790d73
Add benchmark for typescript parser
2019-11-22 21:13:14 +09:00
강동윤
107c35fb41
Fix renaming bug related to import ( #457 )
...
- Fix renaming bug related to import (#456 )
- Add tests for common_js / umd / amd
2019-11-20 21:32:42 +09:00
강동윤
210686011d
Resolver: Handle hoisting ( #455 )
...
swc_ecma_transforms:
- resolver: Handle variable hoisting
- resolver: Handle function hoisting
2019-11-19 19:10:15 +09:00
강동윤
3474c61a48
Fix codegen and parsing of template literal ( #453 )
...
- Fix codegen and parsing of template literal (#450 )
2019-11-18 19:54:24 +09:00
강동윤
d50ab99ef0
Fix #451 ( #452 )
...
swc_ecma_parser:
- Fix parser of eval and arguments
swc_ecma_transforms:
- Improve fixer (#451 )
2019-11-18 18:19:25 +09:00
강동윤
d074063867
Parser: Error recovery ( #449 )
...
Implement some error recovery logic to parser
2019-11-17 18:36:47 +09:00
Jasper De Sutter
716bfe05b2
Cleanup ( #448 )
...
- cargo fix
- update all crates to 2018 edition
2019-11-17 13:21:53 +09:00
강동윤
bc4a2976e5
Validate spans ( #447 )
...
- Add span validator to swc_ecma_transforms
2019-11-16 23:49:32 +09:00
강동윤
350f609afd
Allow accessing same constant from static property and constructor ( #445 )
...
Fix #443 .
2019-11-15 18:36:43 +09:00
강동윤
37b80dfd08
Optional chaining for typescript ( #444 )
...
Implement typescript 3.7's optional chaining
2019-11-15 14:34:48 +09:00
강동윤
96aa4796ea
Fix #441
2019-11-15 14:23:39 +09:00
강동윤
25523f45bd
Remove unsafe
2019-11-13 20:00:21 +09:00
강동윤
d64d125996
Bugfixes ( #440 )
...
* Allow running swc on babel's output (#438 )
* Print comments correctly (#439 )
2019-11-10 18:21:28 +09:00
강동윤
076957661d
Fix a test
2019-11-10 15:23:40 +09:00
강동윤
264dcf0d7b
Fix #439
2019-11-10 13:21:44 +09:00
강동윤
167008de6f
Expose tokenizer ( #437 )
...
swc_common:
- Added input::Input
swc_ecma_parser:
- Made lexer public
- Make input type of parser generic
- Added example of using lexer
2019-11-06 13:14:44 +09:00
Martin Feckie
cf880d5b33
Add dev environment setup instructions ( #435 )
2019-10-28 21:53:07 +09:00
강동윤
ae3326cd9d
Compiler apis & .swcrc improvement ( #434 )
...
- Expose high-level compiler apis (#431 )
- Support multiple entries in .swcrc (#414 )
2019-10-25 10:11:24 +09:00
강동윤
2add7a08ef
fixup! Bump versions
2019-10-23 22:22:54 +09:00
강동윤
4a41140854
Bump versions
2019-10-23 22:20:00 +09:00
강동윤
7f5d3a4db1
Fix parsing of single untyped param in IIFE
...
Closes #433
2019-10-23 20:53:28 +09:00
강동윤
2e5c81ee8e
Fix parsing readonly array and tests
...
Closes #432
2019-10-23 20:20:17 +09:00
강동윤
34c3a0ece9
Fix lints
2019-10-19 12:47:25 +09:00
강동윤
01b1cc1a5e
Update rustfmt
2019-10-19 12:21:56 +09:00
강동윤
6a7e229bbf
Use latest nightly
2019-10-18 22:10:44 +09:00
강동윤
a9d255c174
slack
2019-10-18 18:35:40 +09:00
dependabot[bot]
2ca5aa5766
Bump js-yaml from 3.12.0 to 3.13.1 in /ecmascript/transforms ( #426 )
...
Bumps [js-yaml](https://github.com/nodeca/js-yaml ) from 3.12.0 to 3.13.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases )
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nodeca/js-yaml/compare/3.12.0...3.13.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-10-05 14:14:38 +09:00
dependabot[bot]
451f5938c9
Bump mixin-deep from 1.3.1 to 1.3.2 in /ecmascript/transforms ( #428 )
...
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep ) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases )
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-10-05 14:14:26 +09:00
dependabot[bot]
2c9f2e1f68
Bump handlebars from 4.0.12 to 4.4.0 in /ecmascript/transforms ( #429 )
...
Bumps [handlebars](https://github.com/wycats/handlebars.js ) from 4.0.12 to 4.4.0.
- [Release notes](https://github.com/wycats/handlebars.js/releases )
- [Changelog](https://github.com/wycats/handlebars.js/blob/v4.4.0/release-notes.md )
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.0.12...v4.4.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-10-05 14:14:13 +09:00
dependabot[bot]
09e911bec8
Bump lodash from 4.17.11 to 4.17.15 in /ecmascript/transforms ( #427 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.11 to 4.17.15.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.15 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-10-05 14:13:59 +09:00
강동윤
9f1fca55ff
Update rustc toolchain to nightly-2019-09-30
2019-10-02 13:53:56 +09:00
강동윤
3a637d4229
fix this
in async generator ( #425 )
...
swc_ecma_transforms:
- Don't delete test file when an execution test fails
- fix #400
2019-10-01 23:42:05 +09:00
강동윤
d7d22c2d5e
Optional try catch binding ( #422 )
...
swc_ecma_parser:
- Add test for optional try catch binding
swc_ecma_transforms:
- Implement optional catch binding (#411 )
2019-09-22 19:31:32 +09:00
강동윤
febe34e280
Publish swc_ecma_transforms
2019-09-22 17:55:35 +09:00
강동윤
2bd4475c5d
Fix codegen tests
2019-09-20 23:39:19 +09:00
강동윤
61a1367974
Fix #410
2019-09-20 23:35:45 +09:00
강동윤
c20176820e
Fix #415
2019-09-20 23:07:24 +09:00
강동윤
4f8220329f
publish
2019-09-20 13:41:11 +09:00
강동윤
eefdaaaa2f
Fold expressions in module item ( #420 )
...
* Fix #413
2019-09-20 13:20:37 +09:00
강동윤
c7abda95d4
typescript const assertion ( #419 )
...
Fixes #401 .
2019-09-18 22:54:12 +09:00
강동윤
bf70946546
Fix #417
...
process.env['X'] is now supported
2019-09-18 16:15:13 +09:00
강동윤
5a47c7a15c
Fix 1 - (1 - 1)
( #418 )
2019-09-18 16:05:36 +09:00
강동윤
7715c2626b
Issues ( #404 , #406 , #407 ) ( #408 )
...
swc_ecma_transforms:
- fix mis-referencing caused by destructuring (#404 )
- fix invalid code generated by comment on arrow functions (#406 )
- fix string concatation of template literal (#407 )
- hygiene: fix rewriting of object pattern
- fix test module to prevent SIGILL
- fix module import order (using IndexMap)
2019-09-18 14:40:22 +09:00
강동윤
a1c2538338
hashbrown & comment revamp
2019-06-25 09:41:58 +09:00