From e7439d65b0e153434d3acc07df6e2a0972ee79ca Mon Sep 17 00:00:00 2001 From: aarne Date: Tue, 11 Jan 2011 15:46:43 +0000 Subject: gf-book web page index and toc --- gf-book/examples/chapter4/Comment.gf | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 gf-book/examples/chapter4/Comment.gf (limited to 'gf-book/examples/chapter4/Comment.gf') diff --git a/gf-book/examples/chapter4/Comment.gf b/gf-book/examples/chapter4/Comment.gf new file mode 100644 index 000000000..0a812c6ef --- /dev/null +++ b/gf-book/examples/chapter4/Comment.gf @@ -0,0 +1,13 @@ +abstract Comment = { + flags startcat = Comment ; + cat + Comment ; Item ; Kind ; Quality ; + fun + Pred : Item -> Quality -> Comment ; + This, That, These, Those : Kind -> Item ; + Mod : Quality -> Kind -> Kind ; + Wine, Cheese, Fish, Pizza : Kind ; + Very : Quality -> Quality ; + Fresh, Warm, Italian, + Expensive, Delicious, Boring : Quality ; +} -- cgit v1.2.3