mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-01 07:12:50 -06:00
more test/srg to examples/test/srg
This commit is contained in:
9
examples/test/srg/cyclic-empty-prod/cyclic-empty-prod.gf
Normal file
9
examples/test/srg/cyclic-empty-prod/cyclic-empty-prod.gf
Normal file
@@ -0,0 +1,9 @@
|
||||
cat S; E;
|
||||
|
||||
fun s : S ;
|
||||
fun es : E -> S -> S ;
|
||||
fun e : E ;
|
||||
|
||||
lin s = { s = "s" } ;
|
||||
lin es e s = { s = e.s ++ s.s } ;
|
||||
lin e = { s = [] } ;
|
||||
Reference in New Issue
Block a user