Expand description
Text (.sst) codec for the vihaco-backed ISA — vihaco ParsedModule grammar.
The grammar is:
version <major>.<minor>;
fn @main() {
<instruction>
...
}LanesHeader parses the version <major>.<minor> directive.
LanesResolver lowers a ParsedModule<Instruction, LanesHeader> into a
Program via super::program::from_code.
Enums§
- Lanes
Header - The only header we support:
version <major>.<minor>. - Text
Error - Error from text (
.sst) parsing.
Functions§
- parse_
text - Parse the vihaco
fn @maingrammar into aProgram. - to_text
- Emit the program as the vihaco
fn @maingrammar.