Commit Graph

5 Commits

Author SHA1 Message Date
hallgren
4061d03aa2 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
75278a5828 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
d9935d3b3f 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
743fe51bac Improvements In Sindhi RG 2013-06-15 20:02:00 +00:00
virk.shafqat
1549e0abef Sindhi-resource-grammar 2012-02-21 09:20:38 +00:00