summaryrefslogtreecommitdiff
path: root/examples/systemS/Formula.gf
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2005-12-20 14:20:42 +0000
committeraarne <aarne@cs.chalmers.se>2005-12-20 14:20:42 +0000
commit25b31684378d3b0668b65939fc7b30b0c1e8d130 (patch)
tree7ed3e007a8847096087a3593504aec526fedd455 /examples/systemS/Formula.gf
parent774abf612d5cc3a099f229c9cc649c7c51979f2d (diff)
CS's system S
Diffstat (limited to 'examples/systemS/Formula.gf')
-rw-r--r--examples/systemS/Formula.gf20
1 files changed, 20 insertions, 0 deletions
diff --git a/examples/systemS/Formula.gf b/examples/systemS/Formula.gf
new file mode 100644
index 000000000..62bc67eb7
--- /dev/null
+++ b/examples/systemS/Formula.gf
@@ -0,0 +1,20 @@
+-- 20 Dec 2005, 9.45
+
+abstract Formula = {
+
+ cat
+ Formula ;
+ Term ;
+
+ fun
+ And, Or, If : (_,_ : Formula) -> Formula ;
+ Not : Formula -> Formula ;
+ Abs : Formula ;
+
+---- All, Exist : (Term -> Formula) -> Formula ;
+
+ -- to test
+
+ A, B, C : Formula ;
+
+} \ No newline at end of file