forked from GitHub/gf-core
added testsuite for the parser
This commit is contained in:
8
testsuite/runtime/parser/DummyNatCnc.gf
Normal file
8
testsuite/runtime/parser/DummyNatCnc.gf
Normal file
@@ -0,0 +1,8 @@
|
||||
concrete DummyNatCnc of DummyNat = {
|
||||
|
||||
lincat Nat = Str ;
|
||||
lin zero = "z" ;
|
||||
succ n = n ;
|
||||
plus m n = m ++ n ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user