diff options
| author | bjorn <bjorn@bringert.net> | 2008-08-19 14:35:45 +0000 |
|---|---|---|
| committer | bjorn <bjorn@bringert.net> | 2008-08-19 14:35:45 +0000 |
| commit | 7d83d90e51573d92071e4f84c33f0cd2a1ab2c36 (patch) | |
| tree | f77bae029bc96cf79bafdf3185c3fcbe87def887 /examples/peacekeeping/PeaceCatI.gf | |
| parent | 9242bdfcc81dc1d6f5c1f2b2e363f4284a13c962 (diff) | |
Use overloaded API in peace keeping grammar. Still not compiling, "no instance of mkS for Cl among ... Cl ... ?"
Diffstat (limited to 'examples/peacekeeping/PeaceCatI.gf')
| -rw-r--r-- | examples/peacekeeping/PeaceCatI.gf | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/examples/peacekeeping/PeaceCatI.gf b/examples/peacekeeping/PeaceCatI.gf index 312bc1b1e..67db1351d 100644 --- a/examples/peacekeeping/PeaceCatI.gf +++ b/examples/peacekeeping/PeaceCatI.gf @@ -1,12 +1,20 @@ incomplete concrete PeaceCatI of PeaceCat = - Cat ** open Lang, PeaceRes, Prelude in { + open Lang, PeaceRes, Prelude in { lincat + N = N; A = A; V = V; V2 = V2; V3 = V3; Pron = Pron; + IP = IP; IAdv = IAdv; + Adv = Adv; NP = NP; CN = CN; Imp = Imp; Det = Det; Num = Num; + MassN = N ; Phrase = { s : Str; p : Punct } ; PhraseWritten = { s : Str } ; PhraseSpoken = { s : Str } ; + Sent = {s : SForm => Str} ; + Quest = { s : Str } ; + MassCN = CN ; + lin Written x = mkWritten x.s x.p ; Spoken x = { s = x.s } ; |
