diff options
| author | Inari Listenmaa <inari.listenmaa@gmail.com> | 2021-07-06 09:16:52 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-06 09:16:52 +0200 |
| commit | 4e8859aa752c65e8445cd54cb6ca80089492fd31 (patch) | |
| tree | 644c80d65bc8b70b79d76776f8f786f5753b0d0d /testsuite/canonical/grammars/PhrasebookBul.gf | |
| parent | 09d772046e78f9bab6c8c75035b812985d18d0f7 (diff) | |
| parent | a27b07542d731ee0287383feb7a97d5d4708b85e (diff) | |
Merge pull request #118 from GrammaticalFramework/canonical
Fixes to canonical compilation
Diffstat (limited to 'testsuite/canonical/grammars/PhrasebookBul.gf')
| -rw-r--r-- | testsuite/canonical/grammars/PhrasebookBul.gf | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testsuite/canonical/grammars/PhrasebookBul.gf b/testsuite/canonical/grammars/PhrasebookBul.gf new file mode 100644 index 000000000..347d69297 --- /dev/null +++ b/testsuite/canonical/grammars/PhrasebookBul.gf @@ -0,0 +1,31 @@ +--# -path=.:present + +concrete PhrasebookBul of Phrasebook = + open + SyntaxBul, + (R = ResBul), + ParadigmsBul, + Prelude in { + + lincat + PlaceKind = CNPlace ; + + oper + CNPlace : Type = {name : CN ; at : Prep ; to : Prep; isPl : Bool} ; + + mkPlace : N -> Prep -> {name : CN ; at : Prep ; to : Prep; isPl : Bool} = \n,p -> + mkCNPlace (mkCN n) p to_Prep ; + + mkCNPlace : CN -> Prep -> Prep -> CNPlace = \p,i,t -> { + name = p ; + at = i ; + to = t ; + isPl = False + } ; + + na_Prep = mkPrep "на" R.Acc ; + + lin + Airport = mkPlace (mkN066 "летище") na_Prep ; + +} |
