diff options
| author | john.j.camilleri <john.j.camilleri@chalmers.se> | 2013-09-16 07:17:27 +0000 |
|---|---|---|
| committer | john.j.camilleri <john.j.camilleri@chalmers.se> | 2013-09-16 07:17:27 +0000 |
| commit | f5461eb3d4eb2605b546a4ed202c12bcdaa1f4e4 (patch) | |
| tree | 946c9e8542b8e8271b6b529a95c0400fa6613cb4 /examples/numerals/lalo.gf | |
| parent | 8e1c6cca407c82fc09569d80c231b8d256735989 (diff) | |
Remove contribs and examples
Everything has now been moved to a separate repository at
https://github.com/GrammaticalFramework/gf-contrib
The contents of the examples folder are build during SetupWeb
Diffstat (limited to 'examples/numerals/lalo.gf')
| -rw-r--r-- | examples/numerals/lalo.gf | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/examples/numerals/lalo.gf b/examples/numerals/lalo.gf deleted file mode 100644 index 697b28aa4..000000000 --- a/examples/numerals/lalo.gf +++ /dev/null @@ -1,45 +0,0 @@ -concrete lalo of Numerals = { --- include numerals.Abs.gf ; - -param Zero = yes | nozero ; - -oper LinS100 = {s : Str ; zero : Zero } ; - -lincat Numeral = {s : Str} ; -lincat Digit = {s : Str} ; -lincat Sub10 = {s : Str} ; -lincat Sub100 = LinS100 ; -lincat Sub1000 = LinS100 ; -lincat Sub1000000 = { s : Str } ; - --- TODO encoding - -oper ss : Str -> LinS100 = \s1 -> {s = s1 ; zero = nozero} ; - -lin num x0 = {s = x0.s} ; -lin n2 = {s = "`n."} ; -lin n3 = {s = "sa" } ; -lin n4 = {s = "i"} ; -lin n5 = {s = "Nà" } ; -lin n6 = {s = "khùq" } ; -lin n7 = {s = "x`&" } ; -lin n8 = {s = "hìq" } ; -lin n9 = {s = "kw" } ; -lin pot01 = {s = "tjh`&"} ; -lin pot0 d = d ; -lin pot110 = ss "tjhí" ; -lin pot111 = ss "tjhítì" ; -lin pot1to19 d = ss ("tjhí" ++ d.s) ; -lin pot0as1 n = {s = n.s ; zero = yes } ; -lin pot1 d = ss (d.s ++ "tjhí") ; -lin pot1plus d e = ss (d.s ++ "tjhí" ++ e.s) ; -lin pot1as2 n = {s = n.s ; zero = yes } ; -lin pot2 d = ss (d.s ++ "há") ; -lin pot2plus d e = ss (d.s ++ "há" ++ if0 ! e.zero ++ e.s) ; -lin pot2as3 n = {s = n.s }; -lin pot3 n = {s = n.s ++ "t'w" }; -lin pot3plus n m = ss (n.s ++ "t'w" ++ if0 ! m.zero ++ m.s) ; - -oper if0 = table {yes => "ni" ++ "ka" ; nozero => []} ; - -} |
