From 2faba9011978f29f56bbc27287720a08b08b7adb Mon Sep 17 00:00:00 2001 From: aarne Date: Fri, 22 Feb 2008 15:17:50 +0000 Subject: started a directory of grammars testing testgf3 features --- examples/features/Param.gf | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 examples/features/Param.gf (limited to 'examples') diff --git a/examples/features/Param.gf b/examples/features/Param.gf new file mode 100644 index 000000000..0b5ed2453 --- /dev/null +++ b/examples/features/Param.gf @@ -0,0 +1,10 @@ +resource Param = { + + param Bool = True | False ; + + oper and : Bool -> Bool -> Bool = \x,y -> case x of { + True => y ; + _ => False + } ; + +} -- cgit v1.2.3