Add parsing for conditionals (cont.)

Signed-off-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
Marcel Müller 2026-03-08 15:06:29 +01:00
parent 974086a877
commit 8afc2d1bde
29 changed files with 994 additions and 746 deletions

View file

@ -65,13 +65,8 @@ impl Nomo {
let instructions = emit::emit_machine(ast);
self.templates.insert(
name.into(),
Template {
source,
instructions,
},
);
self.templates
.insert(name.into(), Template { instructions });
Ok(())
}
@ -89,7 +84,6 @@ impl Nomo {
}
struct Template {
source: NomoInput,
instructions: Vec<Instruction>,
}