Commit graph

116 commits

Author SHA1 Message Date
Boshen
24f11a4ea8
refactor(syntax): move identifier related code from lexer to syntax 2023-05-27 11:00:02 +08:00
Boshen
a31c7ac77a
refactor(index): use static_assertions 2023-05-24 22:53:11 +08:00
Boshen
30fc21ce54
refactor(index): use index_vec crate (#383) 2023-05-24 21:45:06 +08:00
Yoni Feng
c1d1846714
Add Brotli size to minsize task output (#377) 2023-05-23 17:00:49 +08:00
Boshen
827cef3311
chore(minsize): use default version of flate2 (removes 2 extra dependencies) 2023-05-23 00:32:00 +08:00
Boshen
d407cd9675
feat(minifier): add allocator to minifier example 2023-05-22 12:23:04 +08:00
Boshen
5eeb2b0684
refactor(ast): remove ordered_float::NotNan<f64> from NumberLiteral
This is not easy to use
2023-05-21 21:46:45 +08:00
Boshen
69b3aff858
feat(minifier): add --mangle option to example 2023-05-21 14:45:24 +08:00
Boshen
df06c3a51a
feat(benchmark): add minifier to benchmark (#365) 2023-05-20 22:31:04 +08:00
Boshen
f8828db68c
feat(semantic2): slot based mangler (#364) 2023-05-20 19:00:57 +08:00
Boshen
ebfaa3b940
feat(hir,minifier): wire up mangling 2023-05-13 21:59:42 +08:00
Boshen
6e8d342403
feat(minifier): add mangle option 2023-05-13 16:03:43 +08:00
Boshen
1f5fa8d6cb
feat: reimplement semantic builder (#354) 2023-05-13 15:20:00 +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
9465b5f596
refactor(span): move base54 function to oxc_span 2023-05-12 17:02:27 +08:00
Boshen
ec092eab01
deps(rust): bump dependencies 2023-05-12 11:23:41 +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
0f57a512f5
refactor(Formatter): remove minification logic 2023-05-08 22:59:18 +08:00
Boshen
1b83e6c16e
feat(oxc_index): add static_assert_size for compile time evaluation (#343) 2023-05-08 22:20:54 +08:00
Boshen
c5c88a965d
feat(oxc_index): add crate (#342) 2023-05-08 22:01:18 +08:00
Boshen
65a445f512
refactor: move operator to oxc_syntax (#341) 2023-05-08 15:35:01 +08:00
Boshen
e897306f3d
chore(coverage): test serialization on ast and hir (#339) 2023-05-07 22:05:45 +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
72ba29f88b
feat(hir): complete first iteration of ast lowering (#327) 2023-05-06 19:13:44 +08:00
Boshen
99fdaad03a
chore(rust): bump bitflags to v2 2023-05-04 12:24:47 +08:00
Boshen
89352f85de
deps: bump dependencies 2023-05-04 11:33:01 +08:00
Boshen
59ff1fb289
HIR (#319) 2023-04-28 10:33:26 +08:00
Boshen
b6d00e5a6e
deps: remove thiserror from oxc_ast 2023-04-27 22:06:03 +08:00
Boshen
0cdcf03752
deps: remove miette from oxc_ast 2023-04-27 22:03:36 +08:00
Boshen
cd276c2850
feat: add oxc_span crate (#323) 2023-04-27 21:51:15 +08:00
Boshen
1004a1d197
chore: clean up workspace dependencies (#320) 2023-04-27 11:38:39 +08:00
Boshen
e7302eede1
feat(hir): concept of hir (#314) 2023-04-25 10:54:37 +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
4801e68b56
chore: bump deps (#311) 2023-04-22 22:09:53 +08:00
Boshen
f382d36375
chore: publish crates v0.0.6 2023-04-22 16:09:05 +08:00
Boshen
d49195f7f2
feat: napi (#302)
* chore: only ignore js files from the root

* feat: napi
2023-04-22 14:41:45 +08:00
Boshen
c14c82b15d
feat(printer,semantic): mangler (#285)
closes #284
2023-04-18 21:32:35 +08:00
Boshen
92ba59443c
feat(tasks): add minifier coverage test (#292) 2023-04-17 21:30:04 +08:00
Boshen
50749f7c7f
refactor(allocator): clean up and add unit tests 2023-04-16 12:07:03 +08:00
Boshen
9eec306818
chore(minifier): add SemanticBuilder to minifier example
so we can start measuring perf
2023-04-14 13:21:04 +08:00
Boshen
b603c70564
chore: remove examples/ 2023-04-14 13:12:33 +08:00
Boshen
a7cd845fff
feat: add cargo minsize task for tracking minification size (#276)
* feat: add `cargo minsize` task for tracking minification size

* add gzip
2023-04-14 13:07:37 +08:00
Boshen
d117ce20a1 refactor(benchmark): add more benchmark files 2023-04-13 22:16:48 +08:00
Shannon Rothe
7899cf545d
feat(semantic): parse jsdoc comments (#205)
Co-authored-by: Boshen <boshenc@gmail.com>
2023-04-12 16:47:19 +08:00
Boshen
040ac8256f
Release 2023-04-10 22:35:05 +08:00
Boshen
bb18132da5
refactor(oxc_diagnostics): remove error declarations
Make this crate not dependent on `oxc_ast`
2023-04-10 22:21:05 +08:00