new evaluation engine: next steps
This commit is contained in:
parent
bdbf0f863d
commit
3e0899359b
3 changed files with 11 additions and 12 deletions
|
|
@ -197,14 +197,10 @@ proc execute(c: PCtx, start: int) =
|
|||
of opcYldYoid: assert false
|
||||
of opcYldVal: assert false
|
||||
of opcAsgnInt:
|
||||
echo ra, " ", instr.regB, " ", regs.len, tos.prc.name.s
|
||||
decodeB(nkIntLit)
|
||||
regs[ra].intVal = regs[rb].intVal
|
||||
of opcAsgnStr:
|
||||
decodeB(nkStrLit)
|
||||
debug regs[rb]
|
||||
echo rb
|
||||
Message(c.debug[pc], warnUser, " here")
|
||||
regs[ra].strVal = regs[rb].strVal
|
||||
of opcAsgnFloat:
|
||||
decodeB(nkFloatLit)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue