Created
August 31, 2012 13:32
-
-
Save SineSwiper/3552700 to your computer and use it in GitHub Desktop.
multi rule declaration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sunday_morning: Im waking up | ( cant even focus on a coffee_cup ) | |
coffee_cup: dont even know whos bed Im in | |
# Parser problems | |
lyric: | |
where | |
do | |
I | |
start | |
where | |
do | |
I | |
begin: / ( <WORD> ) / | |
# Works, but requires ; | |
lyric: | |
where | |
do | |
I | |
start | |
; | |
where | |
do | |
I | |
begin: / ( <WORD> ) / | |
# Might be a better route, since {} is never used in parser so far | |
lyric: | |
where | |
do | |
I | |
start | |
{ where do I begin }: / ( <WORD> ) / | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bah, the
<!NAME!>
form is backwards... The naming stuff needs to go in the rule_name part, but that section is more sensitive to symbols/changes. Need to think about that angle some more...