diff options
| author | john.j.camilleri <john.j.camilleri@chalmers.se> | 2013-09-16 07:17:27 +0000 |
|---|---|---|
| committer | john.j.camilleri <john.j.camilleri@chalmers.se> | 2013-09-16 07:17:27 +0000 |
| commit | f5461eb3d4eb2605b546a4ed202c12bcdaa1f4e4 (patch) | |
| tree | 946c9e8542b8e8271b6b529a95c0400fa6613cb4 /examples/mathtext/LogicI.gf | |
| parent | 8e1c6cca407c82fc09569d80c231b8d256735989 (diff) | |
Remove contribs and examples
Everything has now been moved to a separate repository at
https://github.com/GrammaticalFramework/gf-contrib
The contents of the examples folder are build during SetupWeb
Diffstat (limited to 'examples/mathtext/LogicI.gf')
| -rw-r--r-- | examples/mathtext/LogicI.gf | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/examples/mathtext/LogicI.gf b/examples/mathtext/LogicI.gf deleted file mode 100644 index e84861550..000000000 --- a/examples/mathtext/LogicI.gf +++ /dev/null @@ -1,48 +0,0 @@ -incomplete concrete LogicI of Logic = SymbolsX ** open - LexLogic, - Syntax, - Symbolic, - (Lang = Lang), -- for SSubjS - Prelude in { -lincat - Prop = S ; - Atom = Cl ; - Ind = NP ; - Dom = N ; - Var = NP ; - [Prop] = [S] ; - [Var] = NP * Bool ; -lin - And = mkS and_Conj ; - Or = mkS or_Conj ; - If A B = mkS (mkAdv if_Subj A) B ; - Iff A B = Lang.SSubjS A iff_Subj B ; - Not A = - Lang.SSubjS - (mkS negativePol (mkCl - (mkVP (mkNP the_Quant case_N)))) that_Subj A ; - All xs A B = mkS (mkAdv for_Prep (mkNP all_Predet - (mkNP all_Det (mkCN A xs.p1)))) B ; - Exist xs A B = mkS (mkCl (indef xs.p2 - (mkCN (mkCN A xs.p1) (mkAP (mkAP such_A) B)))) ; - PAtom = mkS ; - NAtom = mkS negativePol ; - MkVar s = symb (dollar s.s) ; - BaseProp = mkListS ; - ConsProp = mkListS ; - BaseVar x = <x,False> ; - ConsVar x xs = <mkNP and_Conj (mkListNP x xs.p1), True> ; - - PExp e = symb (mkSymb (dollar e.s)) ; - IExp e = symb (dollar e.s) ; - -lincat - Pred1 = VP ; - Pred2 = VPSlash ; -lin - PredPred1 f x = mkCl x f ; - PredPred2 f x y = mkCl x (mkVP f y) ; - -oper - dollar : Str -> Str = \s -> "$" ++ s ++ "$" ; -} |
