xo-expression2: + DApplyExpr [WIP]. Builds, not used or tested
This commit is contained in:
parent
c1a88bb2cb
commit
64f690c253
2 changed files with 16 additions and 0 deletions
|
|
@ -57,6 +57,12 @@ namespace xo {
|
|||
**/
|
||||
void _do_eval_variable_op();
|
||||
|
||||
/** evaluate an apply expression
|
||||
* Require:
|
||||
* - expression in @ref expr_
|
||||
**/
|
||||
void _do_eval_apply_op();
|
||||
|
||||
private:
|
||||
/*
|
||||
* Some registers are preserved by evaluation:
|
||||
|
|
|
|||
|
|
@ -51,6 +51,9 @@ namespace xo {
|
|||
case exprtype::variable:
|
||||
_do_eval_variable_op();
|
||||
break;
|
||||
case exprtype::apply:
|
||||
_do_eval_apply_op();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -77,6 +80,13 @@ namespace xo {
|
|||
// not implemented
|
||||
assert(false);
|
||||
}
|
||||
|
||||
void
|
||||
VirtualSchematikaMachine::_do_eval_apply_op()
|
||||
{
|
||||
// not implemented
|
||||
assert(false);
|
||||
}
|
||||
} /*namespace scm*/
|
||||
} /*namespace xo*/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue