summaryrefslogtreecommitdiff
path: root/grammars/multiple/map.txt
diff options
context:
space:
mode:
authoraarne <unknown>2004-09-15 14:36:27 +0000
committeraarne <unknown>2004-09-15 14:36:27 +0000
commita25ee154e760a424ef4aef46a6e3d6fdf1079cf1 (patch)
tree50315c6fe03325fca09e1a922172de111faa7639 /grammars/multiple/map.txt
parent7697b222d0b7053e4b955a6ab9ba2ad0d6c9c512 (diff)
introducing multiple inheritance
Diffstat (limited to 'grammars/multiple/map.txt')
-rw-r--r--grammars/multiple/map.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/grammars/multiple/map.txt b/grammars/multiple/map.txt
new file mode 100644
index 000000000..1700f967c
--- /dev/null
+++ b/grammars/multiple/map.txt
@@ -0,0 +1,32 @@
+Using multiple inheritance in GF. AR 15/9/2004.
+
+The following diagrams show inheritance between abstract syntaxes in two simple systems.
+
+ TopCity
+ / | \
+ / | \
+ SystemCity UserCity Top
+ / \ / \
+ System City User
+
+
+ TopMath
+ / | \
+ / | \
+ SystemMath UserMath Top
+ / \ / \
+ System Math User
+
+
+Idea of each module:
+
+ User -- User's moves on any domain
+ System -- System's moves on any domain
+ Top -- grammar covering both kinds of moves
+ X = Math, City -- possible domains
+ UserX -- User's domain specific moves
+ SystemX -- System's domain specific moves
+ TopX -- all moves on the domain X
+
+In parallel to the abstract syntax hierarchies, we have of course
+hierarchies of concrete syntaxes for any language; this directory contains Eng.