Chunking and other robust translation facilities in plain RGL

This commit is contained in:
aarne
2014-04-02 21:16:03 +00:00
parent 5bbfc2fbde
commit f80b7cc403
17 changed files with 437 additions and 38 deletions
+5 -1
View File
@@ -2,7 +2,11 @@ concrete ChunkSwe of Chunk = CatSwe, ExtensionsSwe [VPS,VPI] **
ChunkFunctor with (Syntax = SyntaxSwe), (Extensions = ExtensionsSwe) **
open
SyntaxSwe, (E = ExtensionsSwe), Prelude,
(R = ResSwe), (P = ParadigmsSwe) in {
(C=CommonScand), (R=ResSwe), (P = ParadigmsSwe) in {
lin
NP_Acc_Chunk np = ss (np.s ! C.NPAcc) ;
NP_Gen_Chunk np = ss (np.s ! C.NPPoss (C.GSg C.Utr) C.Nom) ;
oper
emptyNP = mkNP (P.mkPN []) ;