Commit graph

57 commits

Author SHA1 Message Date
Boshen
8c12dff8a3
perf: speed tasks run by using a global allocator 2023-10-11 20:30:30 +08:00
Boshen
eaa0c58e24
feat(linter): eslint-plugin-unicorn(filename-case) (#978) 2023-10-11 15:23:17 +08:00
Boshen
817f8c295e
ci: turn off doc tests because they are slow to compile and run (#961) 2023-10-07 17:01:23 +08:00
Boshen
fbbc1fe6bd
chore(wasm,playground): remove hir 2023-09-29 22:39:31 +13:00
IWANABETHATGUY
ea90128b9f
chore(playground): 🐛 hide hir and minify since they are not available (#939)
1. hide hir and minify since they are not available
2. These two buttons would confuse user since they don't have any effect
for now.
2023-09-29 21:57:47 +13:00
Boshen
46d2623c1f
feat(transform_conformance): add jsx and ts tests 2023-09-18 15:35:02 +08:00
Boshen
ceeee5909b
Remove HIR (#917)
closes #273
closes #814

HIR is removed from this PR, with the minifier being commented out.

HIR is a wonderful idea for compiling to lower languages, but after
sitting on it for a few months I found that it only adds confusion and
uncertainties to both myself and future contributors.

It also adds too much burden to maintainers if we plan to support more
downstream tools.

1 AST is the only way.
2023-09-15 23:48:32 +08:00
dependabot[bot]
e174c2f555
chore(deps): bump the dependencies group with 5 updates (#908) 2023-09-14 16:15:50 +08:00
Boshen
53b094e46c
chore: clean up deps (#840) 2023-09-02 21:34:24 +08:00
Boshen
2f0ff28f47
Rust 1.72.0 (#784) 2023-08-24 23:02:19 +08:00
阿良仔
5a73f0e1b5
feat(formatter): add EndOfLine (#747) 2023-08-17 19:04:23 +08:00
u9g
99a4816ce7
feat(website): add query playground (#698) 2023-08-11 10:53:21 +08:00
Boshen
2f48bdf26f
fix(parser,semantic): make semantic own Trivias (#711)
closes #708

Making the parser return Rc<Trivias> is not a good API, and ideally
`Semantic` should just own `Trivias` so it can process or mutate it.
2023-08-10 15:30:32 +08:00
Boshen
d587065436
chore(rust): update crate info, add minimal rust-version, add categories 2023-07-27 13:33:18 +08:00
Boshen
cdaff8b7f1
refactor(linter): expose LintContext as the API for Linter::run 2023-07-07 22:16:03 +08:00
Boshen
e25f6e2dd4
chore(rust): rust cargo fmt and fix clippy warnings 2023-07-04 15:41:30 +08:00
u9g
7c4e1d401a
feat(playground): Add IR view to playground (#467) 2023-06-21 22:35:55 +08:00
Ben
67a86063e9
Update to latest Ezno checker and more (#463) 2023-06-21 08:09:41 +08:00
Boshen
d30735677b
refactor(semantic): merge semantic2 crate into semantic crate (#460) 2023-06-19 20:20:59 +08:00
Boshen
ab25bdebe4
deps: bump deps 2023-06-14 22:37:27 +08:00
Boshen
a79480b078
feat(minifier): separate mangler pass (#439) 2023-06-14 10:46:13 +08:00
Boshen
79188d70d0
refactor(wasm): clean up options passing (#418) 2023-06-09 21:29:28 +08:00
Boshen
2bebbb5a77
feat(website): add linter / minifier / formatter to the playground (#407) 2023-06-04 15:30:55 +08:00
Boshen
e88fd86b17
feat(website): integrate oxc wasm into the playground (#404) 2023-06-03 10:20:50 +08:00
Boshen
6ef839b781
chore(rust): bump deps 2023-05-31 16:34:28 +08:00
Boshen
14720e7c69
refactor: move SourceType from oxc_ast to oxc_span (#351)
related #350
2023-05-12 23:16:14 +08:00
Boshen
ec092eab01
deps(rust): bump dependencies 2023-05-12 11:23:41 +08:00
Boshen
7f93e58f10
chore: remove all #[must_use] 2023-05-11 21:08:00 +08:00
Boshen
48e524ddcf
feat(ast_lower): scope tree (#344) 2023-05-10 22:38:34 +08:00
Boshen
6924e59c5c
chore: remove unused dependencies found by cargo-machete 2023-05-10 19:22:22 +08:00
Boshen
8161ac2800
refactor: clean up Cargo.toml (put features table on top) 2023-05-09 21:53:47 +08:00
Boshen
ddf4ac9cc2
refactor(formatter): remove whitespace minification from formatter (#337) 2023-05-07 17:58:57 +08:00
Boshen
c2428d8abd
chore: rename oxc_printer to oxc_formatter (#336) 2023-05-07 17:47:13 +08:00
Boshen
86c01c7fb8
feat(minifier): use hir (#335) 2023-05-07 17:23:00 +08:00
Boshen
53140cb578
refactor(wasm): improve types a little bit 2023-04-24 21:41:19 +08:00
Boshen
a9b50987b4
chore: format toml files 2023-04-24 14:07:34 +08:00
Boshen
781c855c4d
feat(wasm): integrate linter, minifier and printer (#313) 2023-04-24 10:17:13 +08:00
Boshen
cecd743848
refactor(wasm): clean up wasm 2023-04-22 23:13:59 +08:00
Boshen
7aca953635
ci: add cargo deny 2023-04-22 22:35:19 +08:00
Boshen
080baaa2db
chore: use taplo to reformat toml files 2023-04-22 15:58:59 +08:00
Boshen
21d4954071
Website (#281)
feat(site): init website

Co-authored-by: Gwen <guan_wy@foxmail.com>
2023-04-19 16:37:44 +08:00
Boshen
cfe3dd0869
chore: rust taplo format 2023-04-15 14:14:11 +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
59476e42d4 refactor(oxc_diagnostics): remove over complicated Diagnostics struct 2023-04-01 15:59:42 +08:00
Boshen
d232199e1c
refactor(parser): return Rc<Trivias> from TriviaBuilder (#231)
closes #229
2023-03-31 09:02:48 -07:00
Boshen
79fd35c9cb
deps: fix versions depending on each other 2023-03-30 23:59:41 +08:00
Boshen
9e3675a575
chore: clean up Cargo.toml 2023-03-30 23:27:26 +08:00
Boshen
d46c7aabd9
chore: do not publish some of the crates 2023-03-30 22:41:52 +08:00
Boshen
d095d45818
refactor(semantic): add source_text and trivias to semantic 2023-03-25 14:19:53 +08:00
Boshen
f52770d08a
chore(oxc_wasm): remove unnecessary lines from .gitignore 2023-03-20 14:38:09 +08:00