mirror of
https://github.com/Noratrieb/crapderive.git
synced 2026-01-14 16:45:08 +01:00
d
o c
This commit is contained in:
parent
8d03964f76
commit
f7e862a8fd
6 changed files with 50 additions and 100 deletions
|
|
@ -228,9 +228,7 @@ impl InterpretCtx {
|
|||
}
|
||||
}
|
||||
|
||||
// tag::interpret[]
|
||||
pub fn interpret(stmts: Vec<Stmt>) -> Result<()> {
|
||||
// end::interpret[]
|
||||
let mut ctx = InterpretCtx {
|
||||
memory: vec![0; MEMORY_SIZE],
|
||||
registers: [0; 16],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue