Commit Graph

5749 Commits

Author SHA1 Message Date
bors[bot]
d046adf14c Merge #26
26: Use FileMap as an input. r=kdy1 a=kdy1
2018-01-23 12:39:56 +00:00
강동윤
9b2a5880bb Use FileMap as an input. 2018-01-23 21:38:48 +09:00
bors[bot]
e2f75ec0a2 Merge #25
25: Error reporting like rustc r=kdy1 a=kdy1

Error reporting is implementing using rustc
2018-01-22 13:09:21 +00:00
강동윤
a0ece79b0d Add cli api to parse js file. 2018-01-22 22:07:39 +09:00
강동윤
0a2473fe1c Improve error reporting of ecmascript parser
And drop nll because it's currently too slow.
2018-01-22 21:47:16 +09:00
강동윤
e75836882b Use box for Diagnostic 2018-01-21 19:33:27 +09:00
강동윤
4d52cb49d4 Implement error reporting.
* Use syntax_pos and rustc_error.
 * Use syntax_pos::Span
2018-01-21 17:47:37 +09:00
bors[bot]
bab2b73483 Merge #24
24: Fix parser r=kdy1 a=kdy1
2018-01-18 03:23:54 +00:00
강동윤
7742eaebfe Rebase 2018-01-17 14:09:37 +09:00
강동윤
9c646596c5 Fix ecmascript parser.
* Make span inclusive-exclusive.
 * Fix array parsing.
2018-01-17 14:06:05 +09:00
bors[bot]
135e606f38 Merge #23
23: Update rustfmt to 0.3.5 and format literals. r=kdy1 a=kdy1
2018-01-16 11:11:55 +00:00
강동윤
11b12b8142 Update rustfmt to 0.3.5 and format literals. 2018-01-16 20:11:08 +09:00
bors[bot]
ac82bc4245 Merge #21
21: enable travis for master to update docs r=kdy1 a=kdy1
2018-01-16 02:56:42 +00:00
강동윤
5ff4e759e5 enable travis for master to update docs 2018-01-16 11:54:42 +09:00
bors[bot]
58f899414e Merge #20
20: Make expression and statement consistent. Fixes #19 r=kdy1 a=kdy1
2018-01-16 02:36:28 +00:00
강동윤
d6e61f9638 Make expression and statement consistent. Fixes #19 2018-01-16 11:35:05 +09:00
bors[bot]
7f3e889773 Merge #14
14: Cleanup and documentations for swc_common. r=kdy1 a=kdy1

 * Remove CanIUse trait, which will be reimplemented as a Visitor in future.

 * Remove some other unused stuffs.

 * Change public path of swc_common::fold::* to swc_common::*.
2018-01-15 02:00:54 +00:00
강동윤
1f5db00585 Don't build pull requests. 2018-01-15 11:00:02 +09:00
강동윤
7f4931642d Rebase 2018-01-15 10:47:10 +09:00
강동윤
06731dfcb5 Cleanup and documentations for swc_common.
* Remove CanIUse trait, which will be reimpplemented in future
 using Visitor.

 * Remove some other unused stuffs.

 * Change public path of swc_common::fold::* to swc_common::*.
2018-01-15 10:33:18 +09:00
bors[bot]
3680654428 Merge #13
13: provide --all to cargo tarpaulin r=kdy1 a=kdy1
2018-01-14 12:16:38 +00:00
강동윤
1a440157fc ignore coverage of test files 2018-01-14 19:33:57 +09:00
강동윤
e50636535c provide --all to cargo tarpaulin 2018-01-14 19:22:53 +09:00
bors[bot]
47ac40717a Merge #12
12: Use sudo inside travis r=kdy1 a=kdy1

See https://github.com/xd009642/tarpaulin/issues/77#issuecomment-357495278
2018-01-14 10:07:20 +00:00
강동윤
9ec8856136 fix links and use sudo 2018-01-14 19:04:32 +09:00
bors[bot]
da69f2b9fc Merge #11
11: Integrate bors-ng r=kdy1 a=kdy1

And move reporisotry to swc-project organization.
2018-01-14 05:46:27 +00:00
강동윤
2700ca7c86 Add bors to prevent misktake.
And move reporisotry to swc-project organization.
2018-01-14 14:44:32 +09:00
강동윤
fd5b4d0dc0 Revert "Merge remote-tracking branch 'refs/remotes/origin/simplifier'"
This reverts commit 43fcbcbef2, reversing
changes made to 15fde7b5ff.
2018-01-14 14:00:01 +09:00
강동윤
43fcbcbef2 Merge remote-tracking branch 'refs/remotes/origin/simplifier' 2018-01-14 13:47:34 +09:00
강동윤
b778f0c398 Rebase 2018-01-14 13:37:32 +09:00
강동윤
5a1c844549 [WIP] simplifier 2018-01-14 13:33:09 +09:00
강동윤
015ccb07f4 [WIP] Working for simplfier 2018-01-14 13:30:50 +09:00
강동윤
8d62017d88 add atoms for transformers 2018-01-14 13:30:50 +09:00
강동윤
15fde7b5ff add op! macro 2018-01-14 13:29:57 +09:00
강동윤
06d2be43c3 fix typo 2018-01-14 09:30:51 +09:00
강동윤
daf63465fe make git quiet 2018-01-14 09:20:38 +09:00
강동윤
d73de6c5d8 fix typo 2018-01-13 21:23:46 +09:00
강동윤
a2dd670798 Use RUSTCFLAGS for --cfg procmacro2_semver_exempt 2018-01-13 21:20:17 +09:00
강동윤
ed6714f7fc
Drop travis-cargo 2018-01-13 21:04:15 +09:00
강동윤
3b02b27d62
groundwork for docs
Ignore two tests. See #8.

Add code coverage and travis to readme.
2018-01-13 20:42:52 +09:00
강동윤
58bc3b4ade [WIP] Working for simplfier 2018-01-13 19:13:32 +09:00
강동윤
bd9ce9935a add atoms for transformers 2018-01-13 19:13:09 +09:00
강동윤
6582429013 remove unused parser codes. 2018-01-13 19:07:05 +09:00
강동윤
4a9d66a0f3 update test262.rs 2018-01-13 19:06:50 +09:00
강동윤
fb3b52ddbb ignore Cargo.lock 2018-01-13 19:06:38 +09:00
강동윤
7291667a19 use F: Folder<T> instead of T: FoldWith<F> 2018-01-13 19:06:13 +09:00
강동윤
e949c40517
ECMAScript parser (#1)
- Parser and lexer for lastest ecma spec https://tc39.github.io/ecma262

  - Lexer is currently very inefficient

 - Use https://github.com/tc39/test262-parser-tests/ for testing.

 - Implement proc-macro based ast folder and assert_eq_ignore_span! based on it.

 - Some utilities for proc macro at /macros/common
2018-01-12 16:53:06 +09:00
강동윤
7e2ef3b518 Add .travis.yml 2017-12-23 10:05:19 +09:00
강동윤
0f9532dd5d initial commit 2017-12-22 22:07:03 +09:00