summaryrefslogtreecommitdiffstats
path: root/src/poem/recite/git@git.dwarvish.org:dwarvish.git
diff options
context:
space:
mode:
authorRory Dudley2024-03-05 00:42:28 -0700
committerRory Dudley2024-03-05 00:42:28 -0700
commit37e1ae98dc9309715e9415962f21484a807d2c56 (patch)
tree69444755d1a0095f5a7cfad66ab966f83f46d4aa /src/poem/recite/git@git.dwarvish.org:dwarvish.git
parente03ceec834aeca1f383b19354e32987bc2d59506 (diff)
downloaddwarvish-37e1ae98dc9309715e9415962f21484a807d2c56.tar.gz
Poem::read macros
Added the following macros: push!: Creates a Verse from a stanza, taking into account some extra options (such as the Meter). push1!: Creates a Verse from a stanza, but also allows looking ahead by a single character, in order to pattern match certain meters (i.e. And ('&&') and Addendum ('>>')). Replaced the code in the huge, redundant match statements in Poem::read with the macros described above.
Diffstat (limited to 'src/poem/recite/git@git.dwarvish.org:dwarvish.git')
0 files changed, 0 insertions, 0 deletions