feat: functions with formal parameters
This commit is contained in:
@@ -32,8 +32,6 @@ pub enum OpCode {
|
||||
/// [ .. func args @ .. ] consume (`arity` + 2) elements, call `func` with args` of length `arity`
|
||||
/// Example: __add 1 2 => [ LookUp("__add") Const(1) Const(2) Call(2) ]
|
||||
Call { arity: usize },
|
||||
/// return a value
|
||||
Ret,
|
||||
/// make a function
|
||||
Func { idx: ThunkIdx },
|
||||
/// push param `sym` into TOS
|
||||
|
||||
Reference in New Issue
Block a user