xo-interpreter: plumb initial global symtab so builtins reach parser
This commit is contained in:
parent
2526dcc9b1
commit
79d32b61c6
14 changed files with 57 additions and 23 deletions
|
|
@ -24,6 +24,9 @@ namespace xo {
|
|||
void
|
||||
BuiltinPrimitives::install(gc::IAlloc * mm, gp<GlobalEnv> env)
|
||||
{
|
||||
scope log(XO_DEBUG(true));
|
||||
|
||||
// add(x,y)
|
||||
{
|
||||
gp<Object> rhs = xo::obj::make_primitive(mm, add64);
|
||||
TypeDescr td = Reflect::require<decltype(add64)>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue