Crate ctb_formats_stagel

Crate ctb_formats_stagel 

Source
Expand description

StageL format compiler, tokenizer, and intermediate representation tools. Provides JS and Bash output to the degree that they were implemented. JS was the only target that saw significant use (I haven’t confirmed if it works well). I wouldn’t recommend using this transpiler for anything important; the generated JS is very slow. Eventually I hope to add conversion from StageL to DcText, and provide a more usable implementation in that way.

Modules§

codegen
StageL code generation and bytecode emission utilities.
convert
StageL source conversion and bootstrap build utilities.
parse
StageL syntax parser and token state machine implementation.
stagel2
StageL version 2 normalizer and source tools.
stagel3
StageL 3 (f656 -> f659 .sli3) and StageR 3 (f657 -> f660 .sri3) source normalizer, AST parser, static validator, Token-Dc codec, and inline test evaluator.