Rename emit to compiler
Signed-off-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
parent
705c6a8818
commit
d72f888849
9 changed files with 221 additions and 15 deletions
|
|
@ -4,9 +4,9 @@ use displaydoc::Display;
|
|||
use thiserror::Error;
|
||||
|
||||
use crate::Context;
|
||||
use crate::emit::Instruction;
|
||||
use crate::emit::VMInstructions;
|
||||
use crate::emit::VariableSlot;
|
||||
use crate::compiler::Instruction;
|
||||
use crate::compiler::VMInstructions;
|
||||
use crate::compiler::VariableSlot;
|
||||
use crate::functions::FunctionMap;
|
||||
use crate::input::NomoInput;
|
||||
use crate::value::NomoValue;
|
||||
|
|
@ -247,7 +247,7 @@ mod tests {
|
|||
|
||||
let ast = crate::parser::parse(parsed.tokens()).unwrap();
|
||||
|
||||
let emit = crate::emit::emit_machine(ast);
|
||||
let emit = crate::compiler::emit_machine(ast);
|
||||
|
||||
let mut context = Context::new();
|
||||
context.insert("world", "World");
|
||||
|
|
@ -268,7 +268,7 @@ mod tests {
|
|||
|
||||
let ast = crate::parser::parse(parsed.tokens()).unwrap();
|
||||
|
||||
let emit = crate::emit::emit_machine(ast);
|
||||
let emit = crate::compiler::emit_machine(ast);
|
||||
|
||||
let mut context = Context::new();
|
||||
context.insert("world", "World");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue