mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-21 09:02:50 -06:00
Added srg0004: a simple left-recursive grammar.
This commit is contained in:
7
test/srg/srg0004/lr.gf
Normal file
7
test/srg/srg0004/lr.gf
Normal file
@@ -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