Components
Library dependency tower for xo-reader:
Install instructions here
Abstraction tower for xo-reader components:
exprstate provides an abstract api.
We use runtime polymorphism to represent concrete parsing states.
Different expression types inherit from exprstate to encapsulate
parsing for each expression type.
exprstate
There are also classes for nested state machines:
exprstate
Putting these in context:
exprstate class |
target syntax |
|---|---|
define_xs |
|
progress_xs |
possibly-incomplete arithmetic expressions
|