diff options
| author | aarne <aarne@chalmers.se> | 2010-01-27 17:51:15 +0000 |
|---|---|---|
| committer | aarne <aarne@chalmers.se> | 2010-01-27 17:51:15 +0000 |
| commit | 750a2639b0f46153c36f6c713f522db5bb2d8587 (patch) | |
| tree | eb021744f904a0e62b44d4012bea27368651faad /examples/animals/AnimalsSwe.gf | |
| parent | 890d45579300f39d50a5a18a9f6feed8634ae8ba (diff) | |
command eb for example-based grammar conversion; see 'help eb' and the example in examples/animals/QuestionsI.gfe
Diffstat (limited to 'examples/animals/AnimalsSwe.gf')
| -rw-r--r-- | examples/animals/AnimalsSwe.gf | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/animals/AnimalsSwe.gf b/examples/animals/AnimalsSwe.gf new file mode 100644 index 000000000..8f256885a --- /dev/null +++ b/examples/animals/AnimalsSwe.gf @@ -0,0 +1,15 @@ +--# -path=.:present:prelude + +concrete AnimalsSwe of Animals = QuestionsSwe ** + open LangSwe, ParadigmsSwe, IrregSwe in { + + lin + Dog = regN "hund" ; + Cat = mk2N "katt" "katter" ; + Mouse = mkN "mus" "musen" "möss" "mössen" ; + Lion = mk2N "lejon" "lejon" ; + Zebra = regN "zebra" ; + Chase = dirV2 (regV "jaga") ; + Eat = dirV2 äta_V ; + See = dirV2 se_V ; +} |
