Commit graph

367 commits

Author SHA1 Message Date
Boshen
86c01c7fb8
feat(minifier): use hir (#335) 2023-05-07 17:23:00 +08:00
Boshen
aed7b5d795
feat(hir): remove more TypeScript syntax 2023-05-07 13:06:09 +08:00
Boshen
72ba29f88b
feat(hir): complete first iteration of ast lowering (#327) 2023-05-06 19:13:44 +08:00
Boshen
7e130e56f8
refactor(ast): remove Option around all ImportOrExportKind 2023-05-05 22:39:29 +08:00
Boshen
a2be3bd227
refactor(ast): remove unnecessary ModuleDeclarationKind 2023-05-05 22:04:26 +08:00
Boshen
8ca5c4ce2e
chore(ast): add doc to TSExportAssignment and TSNamespaceExportDeclaration 2023-05-05 21:25:40 +08:00
Boshen
64ed8613a4
refactor(ast): remove unnecessary box from AssignmentTargetMaybeDefault::AssignmentTarget 2023-05-04 22:56:20 +08:00
Wenzhe Wang
638576c323
fix(ast): replace ArrayElementType (#330) 2023-05-04 20:33:58 +08:00
Boshen
3f388e77d1
refactor(ast): remove annoying #[must_use] and #[inline] (#333) 2023-05-04 15:33:23 +08:00
Boshen
99fdaad03a
chore(rust): bump bitflags to v2 2023-05-04 12:24:47 +08:00
Boshen
8cf7c130a4
refactor(ast): s/visit_pattern/visit_binding_pattern 2023-04-28 22:15:58 +08:00
Boshen
59ff1fb289
HIR (#319) 2023-04-28 10:33:26 +08:00
Boshen
f0066ea4cc
refactor: unify the usage of std::fmt import 2023-04-27 22:21:59 +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
2fc16840de
chore(ast): remove unused code enter_object_expression 2023-04-26 18:50:04 +08:00
Boshen
becc5d0a3b
feat(hir): add HirId and HirBuilder for facilitating lowering (#318) 2023-04-25 23:16:04 +08:00
Boshen
2cd04811d1
feat(hir): copy AST over to HIR (#316) 2023-04-25 19:19:36 +08:00
Boshen
f194c84f0b
chore: remove the confusing unsafe impl from ast and allocator 2023-04-25 18:54:15 +08:00
Boshen
e7302eede1
feat(hir): concept of hir (#314) 2023-04-25 10:54:37 +08:00
Boshen
72976d3ae2
refactor(ast): remove all the serde renames, this is no longer estree so it's ok 2023-04-25 10:17:01 +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
4801e68b56
chore: bump deps (#311) 2023-04-22 22:09:53 +08:00
Boshen
8eeba69ea9
fix(ast): fix source_type attributes is null when serialized 2023-04-22 18:24:35 +08:00
Boshen
08dfbc98b2
fix(oxc_ast,oxc_parser): fix clippy warnings 2023-04-22 16:24:50 +08:00
Boshen
f382d36375
chore: publish crates v0.0.6 2023-04-22 16:09:05 +08:00
Boshen
080baaa2db
chore: use taplo to reformat toml files 2023-04-22 15:58:59 +08:00
Boshen
b95eeec47d
refactor(ast): stop aligning oxc ast with estree so it is less confusing 2023-04-22 15:44:19 +08:00
Boshen
9039c13f50
chore: unify crate versions 2023-04-22 15:04:26 +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
Wenzhe Wang
441bc8835f
feat(linter): bad array method on arguments (#303) 2023-04-22 11:07:16 +08:00
Boshen
7f946fb75d
chore: bump nightly to nightly-2023-04-20 (#304) 2023-04-20 23:35:38 +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
298ab996c7
chore(ast): remove unused NumberLiteral::to_string (#298) 2023-04-19 15:15:09 +08:00
Boshen
5b3b757290
chore(linter): add test to ensure documentation exists (#296) 2023-04-18 22:14:54 +08:00
Boshen
c14c82b15d
feat(printer,semantic): mangler (#285)
closes #284
2023-04-18 21:32:35 +08:00
Boshen
3ebbf03217
feat(cli): test print rules (#295) 2023-04-18 21:27:17 +08:00
Shannon Rothe
20755a969a
feat(cli): add --rules CLI flag (#290) 2023-04-18 15:54:44 +08:00
Boshen
42859b3b51
fix(parser): fix fuzzer 2023-04-18 10:35:09 +08:00
Boshen
7f0b16fb9c
chore: remove some unused code 2023-04-17 23:25:57 +08:00
Boshen
aa478c585c
chore(minifier): add test fixture (#287) 2023-04-17 11:24:58 +08:00
Boshen
76a287d856
refactor(semantic): remove unused AstNodeId::new 2023-04-16 22:58:46 +08:00
Boshen
f79f0eb631
refactor(oxc_ast): change SourceType::with_ methods to return Self 2023-04-16 21:32:00 +08:00
Jin Wei Tan
99894ee154
feat(linter): implement no-unused-labels (#282) 2023-04-16 21:10:19 +08:00