Commit graph

820 commits

Author SHA1 Message Date
Boshen
d7f9ca13bc
feat(ast_lower): mark assignment target identifiers as ReferenceFlag::Write
closes #465
2023-06-20 22:12:16 +08:00
Boshen
925cee20c1
feat(parser): parse TypeScript this function parameter (#464) 2023-06-20 21:56:28 +08:00
Boshen
993c171547
chore(ast): document ArrowExpression.expression 2023-06-20 21:54:13 +08:00
Boshen
19b839efe9
perf(semantic): use IndexVec instead of indextree for ast nodes (#462) 2023-06-20 15:21:58 +08:00
Boshen
1b39ce0745
refactor(linter): refactor valid_typeof to use without indextree sibling api 2023-06-19 20:46:53 +08:00
Boshen
527b94fba6
refactor(hir): use Cell for SymbolId instead of RefCell 2023-06-19 20:23:46 +08:00
Boshen
d30735677b
refactor(semantic): merge semantic2 crate into semantic crate (#460) 2023-06-19 20:20:59 +08:00
Boshen
0d5db3d2f7
feat(benchmark): add bench semantic 2023-06-19 18:30:30 +08:00
Boshen
89ef3e18d3
Update README.md 2023-06-19 15:37:35 +08:00
Maneren
e591c62200
refactor(linter): replace phf_map with phf_set (#456) 2023-06-18 12:23:27 +08:00
Boshen
c4008d8014
perf(manger): use RefCell<SymbolId> instead of roundtrip with BTreeMap (#455) 2023-06-16 21:15:30 +08:00
u9g
c5a6b55bcd
chore(linter): Fix spelling mistake (#450)
Co-authored-by: Boshen <boshenc@gmail.com>
2023-06-16 13:20:42 +08:00
Maneren
de9d4de276
feat(linter): Implement eslint(getter-return) (#449) 2023-06-16 10:09:33 +08:00
Wenzhe Wang
5d10f96051
feat(minifier): try fold unary expression (#430) 2023-06-16 00:08:14 +08:00
u9g
db624da84d
Reimplement more of the closure var rename step (#447)
Co-authored-by: Boshen <boshenc@gmail.com>

closes #442
2023-06-15 23:37:04 +08:00
Boshen
d0688d5964
ci: do not upload codecov from forks 2023-06-15 23:06:06 +08:00
u9g
631062514c
Fix confusing and/or incorrect condition in linter (#446) 2023-06-15 14:09:05 +08:00
u9g
ffa2895e5a
chore(minifier) Explain use of base 54/64 in mangler (#445)
Co-authored-by: Boshen <boshenc@gmail.com>
2023-06-15 10:58:40 +08:00
Boshen
ab25bdebe4
deps: bump deps 2023-06-14 22:37:27 +08:00
Boshen
bad8bfcf16
ci: run conformance tests and bail if there are outdated snapshots (#444) 2023-06-14 21:44:10 +08:00
Boshen
478615a9c4
ci: check wasm (#443) 2023-06-14 13:33:09 +08:00
Boshen
a79480b078
feat(minifier): separate mangler pass (#439) 2023-06-14 10:46:13 +08:00
Boshen
166af12b9d
fix(parser): compile in wasm 2023-06-13 17:42:40 +08:00
Carter Snook
c0726e444f
feat(lexer): use linear lexing on WASM (#436)
Co-authored-by: Boshen <boshenc@gmail.com>
2023-06-13 15:18:02 +08:00
Boshen
243e48ac09
fix(coverage): make ignoring "literals/regexp" work on Windows 2023-06-13 14:31:59 +08:00
Boshen
57a2706c21
refactor(semantic): remove the unused mangler from oxc_semantic 2023-06-12 21:35:16 +08:00
Boshen
de403a297d
feat(hir): add enter_scope / leave_scope callbacks 2023-06-12 21:24:11 +08:00
Boshen
0dc6e025a1
refactor(semantic): move ScopeId and ScopeFlags to oxc_syntax 2023-06-12 21:10:38 +08:00
Boshen
dcb38f2277
refactor(semantic): move SymbolId and SymbolFlags to oxc_syntax 2023-06-12 20:55:16 +08:00
Carter Snook
a518bcbb3b
fix(tasks/rulegen): use correct Span import (#433) 2023-06-12 11:09:02 +08:00
Yagiz Nizipli
eff6e7c653
build: update rust toolchain channel (#432) 2023-06-12 11:08:37 +08:00
Carter Snook
985b8f21d9
feat: support hashbang interpreter comments (#431) 2023-06-11 23:55:58 +08:00
Boshen
12ae16a7f2
feat(hir): add visitor 2023-06-11 22:28:54 +08:00
Boshen
5c91fd54e3
feat(minifier): print [-In] Context (#428) 2023-06-11 16:44:48 +08:00
Carter Snook
9df1545602
feat(linter): improve eslint(no-eval) compat (#419) 2023-06-10 11:39:54 +08:00
Boshen
3263f2b654
fix(playground): disable format tab 2023-06-10 01:07:58 +08:00
Boshen
ecee819ef6
Update README.md 2023-06-10 01:01:42 +08:00
Boshen
1d7445394a
ci: deploy website from the main branch 2023-06-10 00:47:36 +08:00
Boshen
953eb29c8b
feat(playground): disable the formatter tab for now 2023-06-10 00:43:35 +08:00
Boshen
263db0f6d5
feat(playground): add some styles 2023-06-10 00:05:43 +08:00
Boshen
79188d70d0
refactor(wasm): clean up options passing (#418) 2023-06-09 21:29:28 +08:00
Boshen
b26900f8c4
fix(rulegen): fix ureq not working without tls 2023-06-09 12:43:41 +08:00
Carter Snook
eca8541032
feat(linter): add eslint(no-eval) (#417) 2023-06-09 10:36:12 +08:00
Boshen
664ff0cc17
fix(semantic): fix typos s/resovling/resolving 2023-06-09 10:33:48 +08:00
Boshen
2da34d0318
fix(playground): a few bug fixes 2023-06-08 23:12:27 +08:00
Boshen
66592863db
Release CLI v0.1.1 2023-06-08 22:32:52 +08:00
Boshen
1ed8df2d83
feat(parser): parse const type parameter from TypeScript v5.0 (#416) 2023-06-08 22:26:35 +08:00
Boshen
1c19c2c6fa
ci: clean up website.yml 2023-06-08 21:02:15 +08:00
Boshen
47b829a6ce
Update README.md 2023-06-08 16:33:58 +08:00
Carter Snook
23d2a9f6d7
chore(typo): expect -> except (#415) 2023-06-08 14:28:29 +08:00