diff options
| author | bjorn <bjorn@bringert.net> | 2008-08-14 07:58:04 +0000 |
|---|---|---|
| committer | bjorn <bjorn@bringert.net> | 2008-08-14 07:58:04 +0000 |
| commit | 77270a010a0b453e9a84c3e62db7cfd22e49d55d (patch) | |
| tree | d17682a545d6ac1e68ff49b8c20964182794baf7 /grammars/testConversions/SimpleSwe.gf | |
| parent | 0bbb906141711767678f82b15a7b43e65e0b5bd6 (diff) | |
Remove the grammars directory. It was full of old grammars that don't compile these days. See the old source distributions if you want them.
Diffstat (limited to 'grammars/testConversions/SimpleSwe.gf')
| -rw-r--r-- | grammars/testConversions/SimpleSwe.gf | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/grammars/testConversions/SimpleSwe.gf b/grammars/testConversions/SimpleSwe.gf deleted file mode 100644 index 273f6c6ba..000000000 --- a/grammars/testConversions/SimpleSwe.gf +++ /dev/null @@ -1,63 +0,0 @@ - -concrete SimpleSwe of SimpleAbs = open SimpleSweRes in { - -lincat -S = {s : Str}; -VP = {s : Str}; -NP = {s : Str}; -V = {s : Str}; -N = {s : Num => Str ; g : Gen}; -D = {s : Gen => Str ; n : Num}; -PP = {s : Str}; -P = {s : Str}; - -lin --- cyclic x = x; -mkS x y = {s = x.s ++ y.s}; -mkVP x y = {s = x.s ++ y.s}; -mkNP1 x y = {s = x.s ! y.g ++ y.s ! x.n}; -mkNP2 x = {s = x.s ! Pl}; -mkNP3 x y = {s = x.s ++ y.s}; -mkPP x y = {s = y.s ++ x.s}; - -robin = {s = "Robin"}; -dog = {s = table {Sg => "hund" ; Pl => "hundar"} ; g = Utr}; -child = {s = table {_ => "barn"} ; g = Neu}; -love = {s = "älskar"}; -hate = {s = variants{"hatar"; "avskyr"}}; -one = {s = variants{table {Utr => "en" ; Neu => "ett"}; - table {Utr => "någon" ; Neu => "något"}} ; n = Sg}; -all = {s = table {_ => "alla"} ; n = Pl}; -inside = {s = variants{"i"; "inuti"}}; - -} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
