Commit graph

758 commits

Author SHA1 Message Date
Wenzhe Wang
ddc129262d
feat(minifer): minify number (#405) 2023-06-03 21:24:39 +08:00
Boshen
e88fd86b17
feat(website): integrate oxc wasm into the playground (#404) 2023-06-03 10:20:50 +08:00
Boshen
eba2346cfb feat(website): init playground 2023-06-02 21:01:47 +08:00
Boshen
2d11f05f14 Nuke the existing website folder, let's start from scratch
Let's use the least amount of dependencies possible, and eventually we
should be able to dog food ourselves.
2023-06-02 21:01:47 +08:00
Boshen
f9b0c8bd17
chore(cargo): remove sparse registries, which is now the default 2023-06-02 11:01:28 +08:00
Boshen
180eac5523
refactor(rust): fix clippy errors 2023-06-02 10:09:32 +08:00
Boshen
e61bc3326c
chore(rust): v1.70.0 2023-06-02 10:00:28 +08:00
Boshen
f8125af850 feat(minimizer): print parentheses 2023-06-01 22:45:26 +08:00
Yagiz Nizipli
63c0491ec2 refactor: remove paranthesis expression from printer 2023-06-01 22:45:26 +08:00
Wenzhe Wang
4109c8b8a5
feat(parser): distinguish exponential number (#399) 2023-06-01 15:15:22 +08:00
Boshen
6acf33887c
fix(lower): avoid stack overflow during expression visit (#400) 2023-06-01 15:12:08 +08:00
Boshen
895d26ebf9
chore(coverage): update snapshot 2023-06-01 14:28:00 +08:00
Boshen
4c41b2740a
Release CLI v0.0.7 2023-05-31 19:20:15 +08:00
Boshen
d1a930d95c
fix(cli): turn on clap default features, which contains --help
closes #398
2023-05-31 19:12:04 +08:00
Boshen
591bee2ba1
chore(linter): update snapshots 2023-05-31 16:44:46 +08:00
Boshen
6ef839b781
chore(rust): bump deps 2023-05-31 16:34:28 +08:00
Boshen
a6b7c9a7e7
ci: add a separate cache factory for benchmark 2023-05-31 15:39:20 +08:00
Boshen
0de95b8111
ci: optimize cache for benchmark 2023-05-31 15:19:04 +08:00
Boshen
c3bd1a6a1d
ci: install rust before anything else
otherwise it'll install rust components, which is slow
2023-05-31 14:59:33 +08:00
Wenzhe Wang
3792b70dbd
feat(minifier): may add space before RegExpLiteral (#397) 2023-05-29 23:11:40 +08:00
Boshen
c01df484db
refactor(hir,syntax): define Precedence for hir expressions 2023-05-29 14:15:14 +08:00
Boshen
4706427575
refactor(syntax): move expression precedence from parser 2023-05-29 12:25:22 +08:00
Boshen
87a0b6c889
refactor(ast): s/ArrowFunctionExpression/ArrowExpression 2023-05-28 22:40:16 +08:00
Boshen
6ffc348e34
feat(minifier): initialize constant folding (#393)
Co-authored-by: Wenzhe Wang <mysteryven@gmail.com>
2023-05-28 11:32:10 +08:00
藍+85CD
32257dce82
fix(README): remove duplicate content & fix third party license link (#395) 2023-05-28 00:44:20 +08:00
Wenzhe Wang
a20d5b55cd
feat(minifier): may add space before binaryOperator (#380) 2023-05-27 19:18:06 +08:00
Boshen
22664a3a83
fix(minifier): the mangle phase should come after the compress phase
To align with terser
2023-05-27 19:12:51 +08:00
Wenzhe Wang
a0b9628177
feat(minifer): distinguish-op-lessthan (#391) 2023-05-27 17:04:54 +08:00
Wenzhe Wang
b52efcb8d6
refactor(minifer): rename commented tests too (#392) 2023-05-27 16:47:28 +08:00
Boshen
b22c62de4f
refactor(minifier): rename expect to test 2023-05-27 13:54:46 +08:00
Boshen
829f945479
chore(minifier): add a few passing tests 2023-05-27 12:27:25 +08:00
Boshen
24f11a4ea8
refactor(syntax): move identifier related code from lexer to syntax 2023-05-27 11:00:02 +08:00
Boshen
8ea9e38ee5
feat(minifier): remove redundant curly braces from block statements (#390) 2023-05-27 10:52:15 +08:00
Boshen
db51772c8c
chore(minifier): add "undefined" tests from closure compiler 2023-05-26 12:29:18 +08:00
Boshen
a7f8b66618
chore: bump submodules 2023-05-25 22:48:10 +08:00
Boshen
ee6f18091b
chore(minsize): add newlines in between for better diff 2023-05-25 22:42:11 +08:00
Boshen
c4a67b6cfb
feat(minifier): fold return undefined to return (#387) 2023-05-25 22:37:55 +08:00
Boshen
1e31acd017
chore(just): add just update and just sync 2023-05-25 22:35:53 +08:00
Boshen
b6d9104a52
chore(coverage): remove catch_unwind
There's a stack overflow in one of the files, I think this is one of the cause?
2023-05-25 21:22:00 +08:00
Boshen
99e8b179ea
chore(semantic2): add a few util methods 2023-05-25 19:31:17 +08:00
Boshen
ab7f170cbc
Update README.md 2023-05-25 19:08:00 +08:00
Boshen
c613583544
chore(coverage): bump coverage status 2023-05-25 18:46:48 +08:00
Boshen
4414f3e071
chore(just): add command for updating submodules 2023-05-25 18:40:35 +08:00
Boshen
b244065954
chore(minifier): enable some tests 2023-05-24 23:23:19 +08:00
Boshen
a31c7ac77a
refactor(index): use static_assertions 2023-05-24 22:53:11 +08:00
Boshen
c136fea535
chore(just): add alias for ready (r) and coverage (c) 2023-05-24 22:43:28 +08:00
Boshen
9191de469a
feat(semantic2): add scope_id to symbols 2023-05-24 22:43:28 +08:00
Boshen
f5b57944e2
feat(minifier): print shorter numbers (#381) 2023-05-24 22:03:50 +08:00
Boshen
30fc21ce54
refactor(index): use index_vec crate (#383) 2023-05-24 21:45:06 +08:00
Boshen
5c5459dc59
ci: only run ci when PR is opened or synchronized 2023-05-24 21:33:42 +08:00