Commit Graph

5 Commits

Author SHA1 Message Date
hallgren
72459b5158 lib/src/*/Numeral*.gf: fix inconsistent inheritance form Cat
While the abstract Numeral inherits only Cat[Numeral,Digits], some of the
concrete NumeralNNN of Numeral inherited everything from CatNNN.

Normally the compiler outputs a warning message when a concrete syntax 
contains superflous lincats, but apparently not when they get included
through inheritance...

This does not seem to cause problems in the Haskell run-time system, but the 
C run-time system fails to load PGFs with superflous lincats.

This problems shows up when creating application grammars that inherit Numeral.
The Phrasebook is an example of such a grammar.
2015-08-26 11:53:16 +00:00
hallgren
7dee933802 Adjust the -path flags in 112 RGL modules
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.
2014-08-18 22:26:29 +00:00
john.j.camilleri
431222da5c Remove Coordination.gf from Nep, Pes, Pun, Sin folders
They were just copies of prelude/Coordination.gf
2013-09-16 07:20:59 +00:00
virk.shafqat
9caa9cd44e Improvements In Sindhi RG 2013-06-15 20:02:00 +00:00
virk.shafqat
cf221bd363 Sindhi-resource-grammar 2012-02-21 09:20:38 +00:00