summaryrefslogtreecommitdiff
path: root/examples/mathtext/LexLogicGer.gf
diff options
context:
space:
mode:
Diffstat (limited to 'examples/mathtext/LexLogicGer.gf')
-rw-r--r--examples/mathtext/LexLogicGer.gf16
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/mathtext/LexLogicGer.gf b/examples/mathtext/LexLogicGer.gf
new file mode 100644
index 000000000..a2d8e8431
--- /dev/null
+++ b/examples/mathtext/LexLogicGer.gf
@@ -0,0 +1,16 @@
+instance LexLogicGer of LexLogic = open SyntaxGer, ParadigmsGer,
+ (MS = MakeStructuralGer), Prelude in {
+
+oper
+ case_N = mkN "Fall" "Fälle" masculine ;
+ such_A = invarA "derart" ; ----
+ by_Prep = mkPrep "durch" accusative ;
+ all_Det = aPl_Det ;
+ axiom_N = mkN "Axiom" ;
+ theorem_N = mkN "Theorem" ;
+ definition_N = mkN "Definition" ;
+ define_V3 =
+ mkV3 (mkV "definieren") (mkPrep [] accusative) (mkPrep "als" accusative) ;
+ define_V2V = mkV2V (mkV "definieren") (mkPrep [] accusative) ;
+ iff_Subj = MS.mkSubj "wenn und nur wenn" ;
+}