diff options
| author | aarne <aarne@cs.chalmers.se> | 2008-09-16 08:01:47 +0000 |
|---|---|---|
| committer | aarne <aarne@cs.chalmers.se> | 2008-09-16 08:01:47 +0000 |
| commit | c09783e60443d5443e9a1d1609b08c31da5f9d91 (patch) | |
| tree | 27d6f513dae149877bc7418fbe3fc0131a95bef5 /examples/jem-math/LexMathSwe.gf | |
| parent | e112fd188f905d90b727101fdbfa21478f4c9d18 (diff) | |
restored the summer school and Resource-HOWTO documents
Diffstat (limited to 'examples/jem-math/LexMathSwe.gf')
| -rw-r--r-- | examples/jem-math/LexMathSwe.gf | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/jem-math/LexMathSwe.gf b/examples/jem-math/LexMathSwe.gf new file mode 100644 index 000000000..1c5d7d802 --- /dev/null +++ b/examples/jem-math/LexMathSwe.gf @@ -0,0 +1,18 @@ +instance LexMathSwe of LexMath = + open SyntaxSwe, ParadigmsSwe, (L = LexiconSwe) in { + +oper + zero_PN = mkPN "noll" neutrum ; + successor_N2 = mkN2 (mkN "efterföljare" "efterföljare") (mkPrep "till") ; + sum_N2 = mkN2 (mkN "summa") (mkPrep "av") ; + product_N2 = mkN2 (mkN "produkt" "produkter") (mkPrep "av") ; + even_A = mkA "jämn" ; + odd_A = mkA "udda" "udda" ; + prime_A = mkA "prim" ; + equal_A2 = mkA2 (mkA "lika" "lika") (mkPrep "med") ; + small_A = L.small_A ; + great_A = L.big_A ; + divisible_A2 = mkA2 (mkA "delbar") (mkPrep "med") ; + number_N = mkN "tal" "tal" ; + +} |
