Expand description
Parser for Treble Live DSL.
The parser is line-oriented: each source line is parsed independently.
def blocks are the sole exception — parse_program gathers a block’s
lines and parses them as a unit. Mini-notation (inside double quotes) is
parsed with nom combinators.
Functions§
- parse_
instrument_ def - Parse a complete
defblock, braces included. - parse_
line - Parse a single source line into a
SourceLine. - parse_
mini - Parse a mini-notation string into a
MiniNotation. - parse_
program - Parse an entire source string into a
Program.