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/ComputersEng.gf | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 gf-book/examples/chapter4/ComputersEng.gf (limited to 'gf-book/examples/chapter4/ComputersEng.gf') diff --git a/gf-book/examples/chapter4/ComputersEng.gf b/gf-book/examples/chapter4/ComputersEng.gf new file mode 100644 index 000000000..c902be7a7 --- /dev/null +++ b/gf-book/examples/chapter4/ComputersEng.gf @@ -0,0 +1,10 @@ +--# -path=.:present + +concrete ComputersEng of Computers = CommentsEng ** + open SyntaxEng, ParadigmsEng in { + lin + Computer = mkCN (mkN "computer") ; + HardDisk = mkCN (mkA "hard") (mkN "disk") ; + Efficient = mkAP (mkA "efficient") ; + Slow = mkAP (mkA "slow") ; +} -- cgit v1.2.3