summaryrefslogtreecommitdiff
path: root/examples/compiling
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2006-10-18 09:54:17 +0000
committeraarne <aarne@cs.chalmers.se>2006-10-18 09:54:17 +0000
commit6c0f59905544e1413316784a8141c1a126ea7bf9 (patch)
treefe10cf5bace93fecdd07ec8d46cbb51d9a78245c /examples/compiling
parent7dea021ece06ad44a78760cb331a8145adbb81be (diff)
compiling examples for doc started
Diffstat (limited to 'examples/compiling')
-rw-r--r--examples/compiling/Compex.gf4
-rw-r--r--examples/compiling/CompexEng.gf8
2 files changed, 12 insertions, 0 deletions
diff --git a/examples/compiling/Compex.gf b/examples/compiling/Compex.gf
new file mode 100644
index 000000000..06327c789
--- /dev/null
+++ b/examples/compiling/Compex.gf
@@ -0,0 +1,4 @@
+abstract Compex = {
+ cat Prop ; Ind ;
+ fun Even : Ind -> Prop ;
+}
diff --git a/examples/compiling/CompexEng.gf b/examples/compiling/CompexEng.gf
new file mode 100644
index 000000000..10b0babdc
--- /dev/null
+++ b/examples/compiling/CompexEng.gf
@@ -0,0 +1,8 @@
+concrete CompexEng of Compex = open MathematicalEng, ParadigmsEng, Prelude in {
+ lincat
+ Prop = {s : Bool => Str} ;
+ Ind = NP ;
+ lin
+ Even : Ind -> Prop ;
+
+}