From a25ee154e760a424ef4aef46a6e3d6fdf1079cf1 Mon Sep 17 00:00:00 2001 From: aarne Date: Wed, 15 Sep 2004 14:36:27 +0000 Subject: introducing multiple inheritance --- grammars/multiple/UserMathEng.gf | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 grammars/multiple/UserMathEng.gf (limited to 'grammars/multiple/UserMathEng.gf') diff --git a/grammars/multiple/UserMathEng.gf b/grammars/multiple/UserMathEng.gf new file mode 100644 index 000000000..c1a190b47 --- /dev/null +++ b/grammars/multiple/UserMathEng.gf @@ -0,0 +1,6 @@ +concrete UserMathEng of UserMath = UserEng, MathEng ** open Prelude in + { + lin + QSum x y = ss (["what is the sum of"] ++ x.s ++ "and" ++ y.s) ; + } + -- cgit v1.2.3