mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-10-28 17:33:18 -06:00
Added srg0004: a simple left-recursive grammar.
This commit is contained in:
1 parent
45f7684de1
commit
e52adbde2e
1 file changed
+7
@@ -0,0 +1,7 @@
|
|||||||
|
cat S;
|
||||||
|
|
||||||
|
fun f : S -> S ;
|
||||||
|
g : S ;
|
||||||
|
|
||||||
|
lin f x = { s = x.s ++ "f" } ;
|
||||||
|
g = { s = "s" } ;
|
||||||
Reference in new issue
Block a user