summaryrefslogtreecommitdiff
path: root/examples/numerals/Binary.gf
diff options
context:
space:
mode:
authorbringert <bringert@cs.chalmers.se>2005-12-01 13:11:01 +0000
committerbringert <bringert@cs.chalmers.se>2005-12-01 13:11:01 +0000
commit30bb51372fa8fdb6d68d1fd1b15793940c8d4e3b (patch)
tree3452f17bc18d7d4e22910481cec25910f665818e /examples/numerals/Binary.gf
parentbb82938d72443349c4ea0be3747b92946454736d (diff)
Added binary numeral grammars.
Diffstat (limited to 'examples/numerals/Binary.gf')
-rw-r--r--examples/numerals/Binary.gf10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/numerals/Binary.gf b/examples/numerals/Binary.gf
new file mode 100644
index 000000000..f053b64ba
--- /dev/null
+++ b/examples/numerals/Binary.gf
@@ -0,0 +1,10 @@
+abstract Binary = {
+
+cat Bin;
+
+fun End : Bin ;
+fun Zero : Bin -> Bin ;
+fun One : Bin -> Bin ;
+
+
+} \ No newline at end of file