xo-interpreter adds + explict mm arg to ctors (retiring Object::mm)
This commit is contained in:
parent
bfee0bdf9b
commit
f3e7330d92
38 changed files with 664 additions and 103 deletions
27
xo-interpreter/src/interpreter/init_interpreter.cpp
Normal file
27
xo-interpreter/src/interpreter/init_interpreter.cpp
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
/** @file init_interpreter.cpp
|
||||
*
|
||||
* author: Roland Conybeare, Nov 2025
|
||||
*/
|
||||
|
||||
#include "init_interpreter.hpp"
|
||||
#include "StackFrame.hpp"
|
||||
#include "xo/subsys/Subsystem.hpp"
|
||||
|
||||
namespace xo {
|
||||
using xo::scm::StackFrame;
|
||||
|
||||
void
|
||||
InitSubsys<S_interpreter_tag>::init()
|
||||
{
|
||||
StackFrame::reflect_self();
|
||||
}
|
||||
|
||||
InitEvidence
|
||||
InitSubsys<S_interpreter_tag>::require()
|
||||
{
|
||||
return Subsystem::provide<S_interpreter_tag>("interpreter", &init);
|
||||
}
|
||||
|
||||
} /*namespace xo*/
|
||||
|
||||
/* end init_interpreter.cpp */
|
||||
Loading…
Add table
Add a link
Reference in a new issue