Created
July 5, 2010 05:45
-
-
Save qmx/464041 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
grammar KanbanDSL | |
rule stage | |
(name (':' limit)? (cards / substages) ';')* | |
end | |
rule substages | |
substage* | |
end | |
rule substage | |
'[' name (':' limit)? cards ']' | |
end | |
rule limit | |
[0-9]+ { | |
def text_value | |
text_value.to_i | |
end | |
} | |
end | |
rule cards | |
'(' ((name [,]?)+)? ')' | |
end | |
rule name | |
[a-zA-Z0-9\s]+ | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment