1
0
forked from GitHub/gf-rgl

extended Numerals API. moved from the WordNet grammar

This commit is contained in:
Krasimir Angelov
2022-10-21 20:50:49 +02:00
parent 96f4543c4c
commit b066fb4d35
29 changed files with 351 additions and 69 deletions

View File

@@ -6,7 +6,9 @@ lincat
Sub10,
Sub100,
Sub1000,
Sub1000000 = ResKor.Numeral ;
Sub1000000,
Sub1000000000,
Sub1000000000000 = ResKor.Numeral ;
lin
-- : Sub1000000 -> Numeral ; -- 123456 [coercion to top category]
@@ -84,6 +86,9 @@ lin
-- : Sub1000 -> Sub1000 -> Sub1000000 ; -- m * 1000 + n
pot3plus m n = TODO ;
pot3as4 x = x ;
pot4as5 x = x ;
oper
LinDigit : Type = ResKor.Numeral ** {isTwo : Bool ; ten : Str} ;