refactor: define lexical rules in a separate PEG grammar
Verify databases and deploy Aster VM / verify-and-deploy (push) Successful in 6m57s

This commit is contained in:
2026-10-19 13:56:05 +08:00
parent f77b8370ea
commit be4f1add58
18 changed files with 206 additions and 167 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/sh
set -eu
cargo fmt --all --check
rustfmt --edition 2024 --check crates/frontend/src/grammar.peg
rustfmt --edition 2024 --check crates/frontend/src/lexer.peg crates/frontend/src/grammar.peg
cargo test --workspace --locked
cargo clippy --workspace --all-targets --locked -- -D warnings