diff options
| author | aarne <aarne@cs.chalmers.se> | 2008-03-04 11:56:12 +0000 |
|---|---|---|
| committer | aarne <aarne@cs.chalmers.se> | 2008-03-04 11:56:12 +0000 |
| commit | bc77ad31639775dbb8201e44d1f8a3c3b8b78852 (patch) | |
| tree | 83654a2fc5e67ebfb8ed8908b7c779b728a4edcf /examples/wiki/LexEditor.gf | |
| parent | b21fe037352bbbe55a1d30515c278d21f964bdec (diff) | |
added wiki grammars
Diffstat (limited to 'examples/wiki/LexEditor.gf')
| -rw-r--r-- | examples/wiki/LexEditor.gf | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/examples/wiki/LexEditor.gf b/examples/wiki/LexEditor.gf new file mode 100644 index 000000000..f9c263e93 --- /dev/null +++ b/examples/wiki/LexEditor.gf @@ -0,0 +1,58 @@ + +interface LexEditor = open Syntax in { + + oper +-- Sentences + singleWordCommand_Utt : V -> Utt ; + command_Utt : V -> Det -> A -> N -> Utt ; + randomlyCommand_Utt : V -> Det -> N -> Utt ; + label_Utt : N -> Utt ; + errorMessage_Utt : A -> N -> Utt ; + +-- Verbs + undo_V : V ; + redo_V : V ; + cut_V : V ; + copy_V : V ; + paste_V : V ; + delete_V : V ; + refine_V : V ; + replace_V : V ; + wrap_V : V ; + select_V : V ; + enter_V : V ; + show_V : V ; + +-- Nouns + language_N : N ; + node_N : N ; + tree_N : N ; + refinement_N : N ; + wrapper_N : N ; + string_N : N ; + page_N : N ; + danish_N : N ; + english_N : N ; + finnish_N : N ; + french_N : N ; + german_N : N ; + italian_N : N ; + norwegian_N : N ; + russian_N : N ; + spanish_N : N ; + swedish_N : N ; + +-- Adjectives + noAdj_A : A ; + available_A : A ; + next_A : A ; + previous_A : A ; + +-- Determiners + defSg_Det : Det ; + defPl_Det : Det ; + indefSg_Det : Det ; + indefPl_Det : Det ; + this_Det : Det ; + +} |
