From c0de7a0627c9c20267a3312055ea7da683632d20 Mon Sep 17 00:00:00 2001 From: aarne Date: Fri, 18 Dec 2009 11:08:39 +0000 Subject: mathtext examples from Bonn --- examples/mathtext/LexLogicEng.gf | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 examples/mathtext/LexLogicEng.gf (limited to 'examples/mathtext/LexLogicEng.gf') 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" ; +} -- cgit v1.2.3