xo-umbrella2/DESIGN.md
Roland Conybeare 3af72fec64 xo-reader2: + SyntaxStateMachine.forward_children method
Support gc traversal with goal of making ParserStateMachine a gc root
2026-03-24 17:43:45 -04:00

452 B

Uses arena allocators for fast+efficient parsing.

Composition of nested state machines.

SchematikaParser

Parser to convert schematika text to expressions.

Details

Partial GCObject facet support, so a SchmeatikaParser instance can be a gc root.

SyntaxStateMachine

a state machine dedicated to some particular Schematika syntax. Examples: if-expression, type declaration, function call

DToplevelSeqSsm

top-level expression sequence