Crate gabc_parser[−][src]
Library for parsing and manipulating gabc code. The intended use case is to parse an entire
gabc file into a GabcFile
struct with GabcFile::new()
. The GABCParser
struct
provides access to the parse tree itself for lower-level processing.
Documentation for gabc is available at http://gregorio-project.github.io/gabc/index.html.
Structs
GABCParser |
Parser that recognizes gabc, generated from |
GabcFile |
Struct representing an entire gabc file. |
Note |
Struct representing a gabc note. |
Syllable |
Struct representing a gabc syllable with text and music, e.g. "Po(eh/hi)" |
Enums
NoteElem |
Any element that can appear in a gabc music string. |
Rule |
Functions
debug_print |
Pretty string representation of a |
parse_gabc |
Wrapper for GABCParser::parse() that prints a helpful error and exits the process if parsing fails (a friendly alternative to panicking). |