forked from GitHub/gf-rgl
The -path flags in the RGL modules compiled during 'cabal build' now refer directly to the needed source directories. References 'alltenses' and 'present' (and the nonexistent directory 'mathematical') have been removed. This allows the files to be compiled in any order (e.g. in parallel). In addition, you can do things like gf -retain lib/src/api/TrySwe.gf without compiling/installing any other RGL modules first, and without setting any other path flags or environment variables.
18 lines
481 B
Plaintext
18 lines
481 B
Plaintext
--# -path=.:../abstract:../common:../prelude
|
|
|
|
concrete CompatibilityEng of Compatibility = CatEng ** open Prelude, ResEng in {
|
|
|
|
-- from Noun 19/4/2008
|
|
|
|
lin
|
|
NumInt n = {s = addGenitiveS n.s ; n = Pl ; hasCard = True} ;
|
|
OrdInt n = {s = \\c => n.s ++ (regGenitiveS "th")!c } ;
|
|
|
|
oper
|
|
-- Note: this results in a space before 's, but there's
|
|
-- not mauch we can do about that.
|
|
addGenitiveS : Str -> Case => Str = \s ->
|
|
table { Gen => s ++ "'s"; _ => s } ;
|
|
|
|
}
|