diff options
Diffstat (limited to 'grammar/middle-recursion.grm')
| -rw-r--r-- | grammar/middle-recursion.grm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/grammar/middle-recursion.grm b/grammar/middle-recursion.grm new file mode 100644 index 0000000..71cc71f --- /dev/null +++ b/grammar/middle-recursion.grm @@ -0,0 +1,3 @@ +main -> 'a' main B | B +A -> 'ab' +B -> A | 'b' |