chordsketch-core
Parser, AST, and transforms for the ChordPro file format. This crate has zero external dependencies.
Part of the ChordSketch project.
Usage
use parse;
let input = "{title: Amazing Grace}\n[G]Amazing [G7]grace";
let song = parse.unwrap;
assert_eq!;
Features
- Full ChordPro format parser (100+ directive types)
- Structured AST representation
- Chord transposition
- Configuration system with RRJSON support
- Multi-song file parsing (
{new_song}) - Inline markup, delegate environments, conditional selectors