forked from GitHub/gf-core
gf-book web page index and toc
This commit is contained in:
10
gf-book/examples/chapter4/ComputersEng.gf
Normal file
10
gf-book/examples/chapter4/ComputersEng.gf
Normal file
@@ -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") ;
|
||||
}
|
||||
Reference in New Issue
Block a user