1
0
forked from GitHub/gf-core

Add Phrasebook to testsuite. Move grammars into subfolders. Add run-bench script.

This commit is contained in:
John J. Camilleri
2021-02-20 13:22:29 +01:00
parent 5ad5789b31
commit dca2ebaf72
179 changed files with 20169 additions and 26 deletions

View File

@@ -0,0 +1,20 @@
concrete ProjectionCnc of Projection = {
-- param Case = Nom | Acc ;
lincat
Comment = {s : Str} ;
Item = {
-- s : Case => {comp : Str} ;
nom : {comp: Str}
} ;
lin
Wine = {
-- s = table {
-- Nom => {comp = "ce" ++ "vin"} ;
-- Acc => {comp = "ce" ++ "vin"}
-- } ;
nom = {comp = "ce" ++ "vin"} ;
} ;
-- Pred item = { s = ((item.s)!Nom).comp } ;
Pred item = { s = (item.nom).comp } ;
}