xo-interpreter2 stack: define-expr's work at top-level
This commit is contained in:
parent
57f6f9073e
commit
6f3833d6fb
56 changed files with 1550 additions and 65 deletions
|
|
@ -14,6 +14,8 @@ namespace xo {
|
|||
* exeucted by VirtualSchematikaMachine
|
||||
**/
|
||||
enum class vsm_opcode {
|
||||
/** Flags bad state (defect in VSM itself) **/
|
||||
sentinel,
|
||||
/** Immediately halt virtual schematika machine. **/
|
||||
halt,
|
||||
/** Evaluate expression in expr register **/
|
||||
|
|
@ -28,6 +30,11 @@ namespace xo {
|
|||
**/
|
||||
evalargs,
|
||||
|
||||
/** continuation to complete execution of define-expression,
|
||||
* after evaluting rhs expression
|
||||
**/
|
||||
def_cont,
|
||||
|
||||
/** continuation to restore vsm registers (local_env, stack, cont)
|
||||
* after invoking a closure
|
||||
**/
|
||||
|
|
@ -58,4 +65,3 @@ namespace xo {
|
|||
} /*namespace xo*/
|
||||
|
||||
/* end VsmOpcode.hpp */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue