Commit graph

357 commits

Author SHA1 Message Date
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
Boshen
bfea368524
chore: remove target_arch from std::mem::size_of checks 2023-04-16 21:08:12 +08:00
Boshen
d29bf62904
refactor(parser): remove some unused expression branchings 2023-04-16 12:26:58 +08:00
Boshen
6cbfc29c90
refactor(parser): remove some useless derive(Debug) 2023-04-16 12:19:39 +08:00
Boshen
ca0e80691c
refactor(oxc_parser): remove unused re_lex_as_typescript_r_angle 2023-04-16 12:15:49 +08:00
Boshen
50749f7c7f
refactor(allocator): clean up and add unit tests 2023-04-16 12:07:03 +08:00
Boshen
94cb990a48
refactor(oxc_ast): clean up doc 2023-04-16 00:39:07 +08:00
Wenzhe Wang
aa85e5bb7f
feat(linter): implement DeepScan bad comparison sequence rule (#280) 2023-04-15 23:52:24 +08:00
Boshen
fec5aafbf1
refactor(oxc_parser): remove a few unused diagnostics 2023-04-15 18:13:15 +08:00
Boshen
4939eeab6a
refactor(oxc_ast): cleanup docs and exports 2023-04-15 18:02:17 +08:00
Boshen
cfe3dd0869
chore: rust taplo format 2023-04-15 14:14:11 +08:00