From e112fd188f905d90b727101fdbfa21478f4c9d18 Mon Sep 17 00:00:00 2001 From: aarne Date: Mon, 15 Sep 2008 15:28:47 +0000 Subject: JEM tutorial examples - some files missing still --- examples/jem-math/LexMathSpa.gf | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 examples/jem-math/LexMathSpa.gf (limited to 'examples/jem-math/LexMathSpa.gf') diff --git a/examples/jem-math/LexMathSpa.gf b/examples/jem-math/LexMathSpa.gf new file mode 100644 index 000000000..a52ae1599 --- /dev/null +++ b/examples/jem-math/LexMathSpa.gf @@ -0,0 +1,18 @@ +instance LexMathSpa of LexMath = + open SyntaxSpa, ParadigmsSpa, (L = LexiconSpa) in { + +oper + zero_PN = mkPN "cero" ; + successor_N2 = mkN2 (mkN "sucesor") genitive ; + sum_N2 = mkN2 (mkN "suma") genitive ; + product_N2 = mkN2 (mkN "producto") genitive ; + even_A = mkA "par" ; + odd_A = mkA "impar" ; + prime_A = mkA "primo" ; + equal_A2 = mkA2 (mkA "igual") dative ; + small_A = L.small_A ; + great_A = L.big_A ; + divisible_A2 = mkA2 (mkA "divisible") (mkPrep "por") ; + number_N = mkN "entero" ; + +} -- cgit v1.2.3