From 30bb51372fa8fdb6d68d1fd1b15793940c8d4e3b Mon Sep 17 00:00:00 2001 From: bringert Date: Thu, 1 Dec 2005 13:11:01 +0000 Subject: Added binary numeral grammars. --- examples/numerals/Binary.gf | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 examples/numerals/Binary.gf (limited to 'examples/numerals/Binary.gf') 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 -- cgit v1.2.3