fix: moving to a parser that can handle left recursion

This commit is contained in:
rvcas
2022-06-10 01:55:28 -04:00
parent 86089b4bee
commit b05f0846a8
5 changed files with 132 additions and 17 deletions

View File

@@ -13,7 +13,7 @@ fn main() -> anyhow::Result<()> {
UplcCommand::Flat { input } => {
let code = std::fs::read_to_string(&input)?;
let program = parser::program(&code).unwrap();
let program = parser::program(&code)?;
let program = Program::<DeBruijn>::try_from(program)?;