feat: new uplc parser

This commit is contained in:
rvcas
2022-06-08 21:51:04 -04:00
parent 33fcb77681
commit 1c8f3a736b
5 changed files with 204 additions and 265 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)?;
let program = parser::program(&code).unwrap();
let program = Program::<DeBruijn>::try_from(program)?;