✍️ Switch to a handwritten lexer and parser. #1
@@ -6,11 +6,6 @@ edition = "2024"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
codespan = "0.12.0"
|
codespan = "0.12.0"
|
||||||
codespan-reporting = "0.12.0"
|
codespan-reporting = "0.12.0"
|
||||||
lalrpop-util = "0.20.2"
|
|
||||||
logos = "0.15.1"
|
|
||||||
proptest = "1.7.0"
|
proptest = "1.7.0"
|
||||||
proptest-derive = "0.6.0"
|
proptest-derive = "0.6.0"
|
||||||
thiserror = "2.0.12"
|
thiserror = "2.0.12"
|
||||||
|
|
||||||
[build-dependencies]
|
|
||||||
lalrpop = "0.20.2"
|
|
||||||
|
|||||||
@@ -1,11 +1,4 @@
|
|||||||
use lalrpop_util::lalrpop_mod;
|
|
||||||
|
|
||||||
mod error;
|
mod error;
|
||||||
lalrpop_mod!(
|
|
||||||
#[allow(clippy::just_underscores_and_digits, clippy::clone_on_copy)]
|
|
||||||
parser,
|
|
||||||
"/syntax/parser.rs"
|
|
||||||
);
|
|
||||||
pub mod tokens;
|
pub mod tokens;
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
|
|||||||
Reference in New Issue
Block a user