feat(interface-types) Add new instructions.

This commit is contained in:
Ivan Enderlin
2019-09-18 17:09:18 +02:00
parent 0352e39741
commit 68e699e495
3 changed files with 77 additions and 1 deletions

View File

@ -37,6 +37,12 @@ pub enum Instruction<'input> {
GetField(InterfaceType, u64),
Const(InterfaceType, u64),
FoldSeq(u64),
Add(InterfaceType),
MemToSeq(InterfaceType, &'input str),
Load(InterfaceType, &'input str),
SeqNew(InterfaceType),
ListPush,
RepeatWhile(u64, u64),
}
#[derive(PartialEq, Debug)]