xo-interpreter2 stack: refactor + bugfix operator expr
This commit is contained in:
parent
cc42c98928
commit
3dc6268dfe
20 changed files with 614 additions and 230 deletions
|
|
@ -33,6 +33,7 @@
|
|||
|
||||
namespace xo {
|
||||
using xo::print::APrintable;
|
||||
using xo::mm::AGCObject;
|
||||
using xo::facet::FacetRegistry;
|
||||
using xo::facet::TypeRegistry;
|
||||
using xo::facet::typeseq;
|
||||
|
|
@ -43,6 +44,13 @@ namespace xo {
|
|||
{
|
||||
scope log(XO_DEBUG(true));
|
||||
|
||||
// GlobalEnv
|
||||
|
||||
FacetRegistry::register_impl<AGCObject, DGlobalEnv>();
|
||||
FacetRegistry::register_impl<APrintable, DGlobalEnv>();
|
||||
|
||||
// SyntaxStateMachine
|
||||
|
||||
FacetRegistry::register_impl<ASyntaxStateMachine, DToplevelSeqSsm>();
|
||||
FacetRegistry::register_impl<APrintable, DToplevelSeqSsm>();
|
||||
|
||||
|
|
@ -105,6 +113,7 @@ namespace xo {
|
|||
// misc types showing up in parser stack arena
|
||||
TypeRegistry::register_type<ParserStack>();
|
||||
|
||||
log && log(xtag("DGlobalEnv.tseq", typeseq::id<DGlobalEnv>()));
|
||||
log && log(xtag("DToplevelSeqSsm.tseq", typeseq::id<DToplevelSeqSsm>()));
|
||||
log && log(xtag("DDefineSsm.tseq", typeseq::id<DDefineSsm>()));
|
||||
log && log(xtag("DDeftypeSsm.tseq", typeseq::id<DDeftypeSsm>()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue