Dan Klishch
092ed1cc8a
JSSpecCompiler: Allow storing NullableTree
s in nodes
...
And use this in ElseIfBranch node.
2023-09-09 11:20:43 -06:00
Dan Klishch
cd8f4aaa7d
JSSpecCompiler: Introduce Function and ExecutionContext classes
...
Currently, they are not extremely useful, but the plan is to store
all function-local state in JSSpecCompiler::Function and all
"translation unit" state in ExecutionContext.
2023-09-02 19:57:06 +02:00
Dan Klishch
db0a03d1fb
JSSpecCompiler: Add infrastructure to parse <emu-clause> into AST
2023-08-31 11:00:31 +02:00
Dan Klishch
f70e39d501
JSSpecCompiler: Add TextParser for converting algorithm steps into AST
2023-08-31 11:00:31 +02:00
Dan Klishch
9f29e04897
JSSpecCompiler: Add functions for splitting node contents into tokens
2023-08-31 11:00:31 +02:00
Dan Klishch
8342361481
JSSpecCompiler: Add Token type
2023-08-31 11:00:31 +02:00