Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Poem::read macros | Rory Dudley | 2024-03-05 | 1 | -0/+135 |
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. |