diff options
Diffstat (limited to 'vendor/ungrammar/ungrammar.ungram')
-rw-r--r-- | vendor/ungrammar/ungrammar.ungram | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/vendor/ungrammar/ungrammar.ungram b/vendor/ungrammar/ungrammar.ungram new file mode 100644 index 000000000..6cb4e10fb --- /dev/null +++ b/vendor/ungrammar/ungrammar.ungram @@ -0,0 +1,16 @@ +/// ungrammar for ungrammar +Grammar = + Node * + +Node = + name:'ident' '=' Rule + +Rule = + 'ident' +| 'token_ident' +| Rule * +| Rule ( '|' Rule) * +| Rule '?' +| Rule '*' +| '(' Rule ')' +| label:'ident' ':' |