summaryrefslogtreecommitdiff
path: root/examples/mathtext/LogicFre.gf
diff options
context:
space:
mode:
Diffstat (limited to 'examples/mathtext/LogicFre.gf')
-rw-r--r--examples/mathtext/LogicFre.gf15
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/mathtext/LogicFre.gf b/examples/mathtext/LogicFre.gf
new file mode 100644
index 000000000..325d48f1f
--- /dev/null
+++ b/examples/mathtext/LogicFre.gf
@@ -0,0 +1,15 @@
+concrete LogicFre of Logic = SymbolsX ** LogicI - [Exist] with
+ (LexLogic = LexLogicFre),
+ (Lang = LangFre),
+ (Syntax = SyntaxFre),
+ (Symbolic = SymbolicFre) ** open SyntaxFre in {
+
+lin
+ --- to get the mood of the that clause correct
+ Exist xs A B =
+ Lang.SSubjS
+ (mkS (mkCl (indef xs.p2
+ (mkCN such_A (mkCN A xs.p1)))))
+ that_Subj B ;
+
+} ;