xo-interpreter2 stack: work on variable references [WIP]
This commit is contained in:
parent
cbca2b7c6b
commit
73614c3ce4
10 changed files with 238 additions and 0 deletions
|
|
@ -6,6 +6,8 @@
|
|||
#include "DClosure.hpp"
|
||||
|
||||
namespace xo {
|
||||
using xo::mm::AGCObject;
|
||||
|
||||
namespace scm {
|
||||
|
||||
DClosure::DClosure(const DLambdaExpr * lm,
|
||||
|
|
@ -23,6 +25,16 @@ namespace xo {
|
|||
return new (mem) DClosure(lm, env);
|
||||
}
|
||||
|
||||
obj<AGCObject>
|
||||
DClosure::apply_nocheck(obj<ARuntimeContext> rcx,
|
||||
const DArray * args)
|
||||
{
|
||||
(void)rcx;
|
||||
(void)args;
|
||||
|
||||
assert(false);
|
||||
}
|
||||
|
||||
} /*namespace scm*/
|
||||
} /*namespace xo*/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue