Rename ast to parser

Signed-off-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
Marcel Müller 2026-03-15 11:33:40 +01:00
parent f87f4a0262
commit 705c6a8818
18 changed files with 32 additions and 32 deletions

View file

@ -20,7 +20,7 @@ fn asting_benchmark(c: &mut Criterion) {
parsing.bench_with_input(BenchmarkId::from_parameter(size), &input, |b, input| {
b.iter(|| {
let tokens = nomo::lexer::parse(input.clone()).unwrap();
let _ast = nomo::ast::parse(tokens.tokens()).unwrap();
let _ast = nomo::parser::parse(tokens.tokens()).unwrap();
});
});
}
@ -44,7 +44,7 @@ fn asting_nested(c: &mut Criterion) {
parsing.bench_with_input(BenchmarkId::from_parameter(size), &input, |b, input| {
b.iter(|| {
let tokens = nomo::lexer::parse(input.clone()).unwrap();
let _ast = nomo::ast::parse(tokens.tokens()).unwrap();
let _ast = nomo::parser::parse(tokens.tokens()).unwrap();
});
});
}