Closed isaiahdahl closed 1 year ago
Markdown frontmatter style makes sense!
It makes sense to have a different grammar. Converting AST to a Song
can be reused.
@isaiahdahl I'm currently trying to compose a grammar that can parse an entire chord sheet including the front matter.
What would you prefer:
I think we should include it in the grammar.
I think it would be ideal if the '---' was optional or not even needed. And it could grab metadata without it. That would be hard to do if it wasn't in the grammar.
What do you think the downsides are to not relying on the --- to separate it?
Hmm I'm not sure. It would be convenient not to need it. It might result in weird corner cases though when lyrics include a colon.
But I can just try to get it to work, and we can test it with some example charts?
Ok let's aim for not needing it.
Parent Task: https://github.com/PraiseCharts/studio/issues/32
Background & Motivation
Want to explore the idea of having metadata in a text chord sheet.
I like the idea of markdown style frontmatter.
=
Possible solutions
ChordSheetParser()
ChordsOverWordsParser()