#![allow(missing_docs)] #[test] fn check_files() { let files = std::fs::read_dir("tests/checks/").unwrap(); for file in files { let input = std::fs::read_to_string(file.unwrap().path()).unwrap(); let Ok(parsed) = nomo::lexer::parse(input.into()) else { continue; }; let Ok(ast) = nomo::parser::parse(parsed.tokens()) else { continue; }; let _emit = nomo::compiler::emit_machine(ast); } }