summaryrefslogtreecommitdiff
path: root/examples/mathtext/LexLogicEng.gf
diff options
context:
space:
mode:
Diffstat (limited to 'examples/mathtext/LexLogicEng.gf')
-rw-r--r--examples/mathtext/LexLogicEng.gf15
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/mathtext/LexLogicEng.gf b/examples/mathtext/LexLogicEng.gf
new file mode 100644
index 000000000..efb8c4a8d
--- /dev/null
+++ b/examples/mathtext/LexLogicEng.gf
@@ -0,0 +1,15 @@
+instance LexLogicEng of LexLogic = open SyntaxEng, ParadigmsEng,
+ (MS = MakeStructuralEng), Prelude in {
+
+oper
+ case_N = mkN "case" ;
+ such_A = mkA "such" ;
+ by_Prep = mkPrep "by" ;
+ all_Det = aPl_Det ;
+ axiom_N = mkN "axiom" ;
+ theorem_N = mkN "theorem" ;
+ definition_N = mkN "definition" ;
+ define_V3 = mkV3 (mkV "define") (mkPrep [] ) (mkPrep "as") ;
+ define_V2V = mkV2V (mkV "define") (mkPrep [] ) (mkPrep []) ;
+ iff_Subj = MS.mkSubj "if and only if" ;
+}