summaryrefslogtreecommitdiff
path: root/eclipse/examples/functors/FoodsEng.gf
diff options
context:
space:
mode:
Diffstat (limited to 'eclipse/examples/functors/FoodsEng.gf')
-rw-r--r--eclipse/examples/functors/FoodsEng.gf8
1 files changed, 8 insertions, 0 deletions
diff --git a/eclipse/examples/functors/FoodsEng.gf b/eclipse/examples/functors/FoodsEng.gf
new file mode 100644
index 000000000..9337b2f6e
--- /dev/null
+++ b/eclipse/examples/functors/FoodsEng.gf
@@ -0,0 +1,8 @@
+-- Functor Instantiation
+--# -path=.:/home/john/.cabal/share/gf-3.2.9/lib/present
+concrete FoodsEng of Foods = FoodsI - [Pizza] with
+ (Syntax = SyntaxEng),
+ (LexFoods = LexFoodsEng) **
+ open SyntaxEng, ParadigmsEng in {
+ lin Pizza = mkCN (mkA "Italian") (mkN "pie") ;
+}