mirror of
https://github.com/Noratrieb/crapderive.git
synced 2026-01-15 00:55:06 +01:00
mroe doc
This commit is contained in:
parent
72687d4167
commit
e4f0dee8a9
6 changed files with 48 additions and 33 deletions
|
|
@ -232,7 +232,9 @@ impl InterpretCtx {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn interpret(stmts: Vec<Stmt>, _spans: Vec<Span>) -> Result<()> {
|
||||
// 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