mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-12 12:42:50 -06:00
More srg test cases.
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
cat S; X; E;
|
||||
|
||||
fun s : S ;
|
||||
fun es : E -> S -> S ;
|
||||
fun sx : S -> X -> S ;
|
||||
fun x : X ;
|
||||
fun e : E ;
|
||||
|
||||
lin s = { s = "s" } ;
|
||||
lin es e s = { s = e.s ++ s.s } ;
|
||||
lin sx s x = { s = s.s ++ x.s } ;
|
||||
lin x = { s = "x" } ;
|
||||
lin e = { s = "e" } ;
|
||||
9
test/srg/srg0002/srg0002.gf
Normal file
9
test/srg/srg0002/srg0002.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