xo-result2: + SchematikaParser

This commit is contained in:
Roland Conybeare 2026-01-18 19:25:43 -05:00
commit 6e2a2bbcd0
5 changed files with 344 additions and 0 deletions

View file

@ -16,6 +16,13 @@ namespace xo {
using xo::facet::with_facet;
namespace scm {
ParserStateMachine::ParserStateMachine(const ArenaConfig & config)
: parser_alloc_{DArena::map(config)},
expr_alloc_{with_facet<AAllocator>::mkobj(&parser_alloc_)},
debug_flag_{config.debug_flag_}
{
}
void
ParserStateMachine::push_ssm(obj<ASyntaxStateMachine> ssm)
{