xo-reader2: + ExpectSymbolSsm + SyntaxStateMachine.on_parsed_symbol

This commit is contained in:
Roland Conybeare 2026-01-19 11:32:39 -05:00
commit 83ef04c250
28 changed files with 537 additions and 52 deletions

6
xo-reader2/doc/README.md Normal file
View file

@ -0,0 +1,6 @@
diagram for parsing stack.
stack growing down for nested ssm's
`on_if_token` etc going to same state
`on_parsed_xxx` going back up the stack

View file

@ -0,0 +1,3 @@
ssm = syntax state machine
psm = parser state machine
ckp = checkpoint