Commit graph

7114 commits

Author SHA1 Message Date
Boshen
8b8355d04a
chore: note about broken cargo-unused-features 2023-04-05 22:22:59 +08:00
Boshen
da29e4a2f1
chore(README): update objectives 2023-04-05 22:10:33 +08:00
Boshen
8229471d8a
Release CLI v0.0.4 2023-04-05 21:14:52 +08:00
Boshen
021271b953
Release oxc_diagnostics@0.0.4 2023-04-05 21:11:12 +08:00
Boshen
513931f672
Release oxc_ast@0.0.4 oxc_parser@0.0.4 oxc_semantic@0.0.3 2023-04-05 20:59:50 +08:00
Boshen
0674899b88
Fuzz async (#257)
* fix(parser): parse `async(...null)` as call expression

relates #255

* fix(parser): parse `null?async():null`

relates #255
2023-04-05 14:36:37 +08:00
Boshen
043a751dc7
chore(linter) move bad_bitwise_operator to restriction category
closes #243
2023-04-05 14:29:32 +08:00
Boshen
6e356788b3
ci: fix wording 2023-04-05 12:27:22 +08:00
Boshen
230c7c8294
ci: install minimal profile (#256)
ci: refactor rustup action
2023-04-05 12:26:37 +08:00
Boshen
c35fb19f4f
ci: install minimal profile (#253)
rustup show always install the profiles set in rust-toolchain.toml,
I added an action to remove this line so we can install components selectively.

This should reduce Rust installation time, which can be significant on Windows.
2023-04-05 11:50:30 +08:00
Boshen
1c2acd121c
refactor(parser): clean up parsing of ForStatement (#251)
closes #176
2023-04-04 22:36:35 +08:00
Boshen
181d8bcc4a
refactor(ast): make BoundNames take a closure so it does not allocate (#249)
closes #237
2023-04-04 20:55:00 +08:00
Boshen
7fd213441c
ci: cache benchmark files (#250) 2023-04-04 17:18:58 +08:00
yangchenye
222dcb3bf1
perf(semantics): avoid hashing when resolving references (#248) 2023-04-03 14:47:59 +08:00
Wenzhe Wang
b17335d724
feat(linter): bad bitwise operator rule (#246) 2023-04-02 23:34:37 +08:00
Boshen
236d53ad9d
fix(parser): fix panic on multi-byte char in ExpectCatchFinally error 2023-04-02 20:09:38 +08:00
Boshen
e1546b87dd
Release CLI v0.0.3 2023-04-02 17:05:39 +08:00
Boshen
089c2ba0ca
Release 0.0.3 2023-04-02 16:59:15 +08:00
Boshen
abcda95e8e
deps: bump deps 2023-04-02 16:48:45 +08:00
Boshen
36f4a12b9f chore: update README about conformance 2023-04-02 16:41:53 +08:00
Boshen
8833a84840 feat(coverage): read typescript dts option in babel 2023-04-02 16:41:53 +08:00
Boshen
f5c7b3751c fix(coverage): babel plugin option can be an array 2023-04-02 16:41:53 +08:00
Boshen
7db1643425 fix(parser): allow non-last rest element in ambient contexts 2023-04-02 16:41:53 +08:00
Boshen
be9b3f9acc feat(coverage): add babel parser option allow_return_outside_function 2023-04-02 16:41:53 +08:00
Boshen
e6079a1b4e feat(coverage): read jsx attribute from typescript files 2023-04-02 16:41:53 +08:00
Boshen
adedc1a405 feat(parser): parse jsx element and fragment in JSXAttributeValue 2023-04-02 16:41:53 +08:00
Boshen
1130f48278 feat(parser): parse ts satisfies operator 2023-04-02 16:41:53 +08:00
Boshen
90e2d386d7 fix(parser): do not check static prototype in ambient contexts 2023-04-02 16:41:53 +08:00
Boshen
a62c9335a2 fix(parser): fix remaining errors around auto accessors 2023-04-02 16:41:53 +08:00
Boshen
96ad67db92
fix(parser): clean up type arguments parsing (#242)
closes #169
2023-04-02 12:06:52 +08:00
Boshen
971aac5716
deps: bump Cargo.lock 2023-04-02 11:00:16 +08:00
Boshen
d6b45c1a57
ci: use another step for uploading code coverage 2023-04-02 11:00:16 +08:00
Boshen
ba318c93a2
ci: try fix codecov 2023-04-02 01:09:32 +08:00
Boshen
fb01c4e210
Release 0.0.2 2023-04-02 00:50:05 +08:00
Boshen
643da6fc44
chore(README): add parser link to docs.rs 2023-04-02 00:35:43 +08:00
Boshen
e576b50fe2
docs(parser): add details 2023-04-02 00:23:21 +08:00
Boshen
61d2aedd43
docs(oxc_parser): add section on performance and visitor 2023-04-02 00:11:19 +08:00
Ash
ab2ef4f89b
fix: nullish coalescing operator precedence (#240) 2023-04-01 23:40:25 +08:00
Boshen
b11f774c41 refactor(oxc_parser): clean up doc 2023-04-01 19:03:33 +08:00
Boshen
d917348f9b refactor(ast,parser): move parsing context from ast to parser 2023-04-01 18:01:33 +08:00
Boshen
fdbe365ac7 refactor(oxc_ast): improve doc and reexports 2023-04-01 18:01:33 +08:00
Boshen
249cf96ad2
refactor(ast): make serde an optional feature (#236)
This should also reduce compilation time a bit

oxc_parser compilation time 9.5s -> 8.8s

relates to #223
2023-04-01 17:12:23 +08:00
Boshen
f2fcbb30c3 refactor(oxc_parser): removed not needed generic from unexpected function 2023-04-01 15:59:42 +08:00
Boshen
59476e42d4 refactor(oxc_diagnostics): remove over complicated Diagnostics struct 2023-04-01 15:59:42 +08:00
Boshen
d4ff0bb40e refactor(oxc_parser): parser and lexer does not need to share the errors vec 2023-04-01 15:59:42 +08:00
Boshen
adef772d6c refactor: clean up code around code coverage 2023-04-01 15:59:42 +08:00
Boshen
174330561c
fix(parser): fix panic on multi-byte characaters (#233)
* fix(oxc_parser): fix panic when EOF on a multi-byte character

relates #232

* fix(parser): fix panic on multi-byte char in private identifer

relates #232
2023-04-01 13:34:18 +08:00
Boshen
4ccb9e806b
chore(coverage): remove mention of git submodule update --remote in README
We want people to use --init.
2023-04-01 10:57:25 +08:00
Boshen
6347dac8d6
ci: pass CODECOV_TOKEN to committed-action 2023-04-01 00:54:37 +08:00
Boshen
f8790d4b89
feat(semantic): can turned off ModuleRecordBuilder
relates to #224
2023-04-01 00:41:52 +08:00