Commit Graph

9 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
krasimir 2e8d5b3d16 use bind for the numerals in German and Greek 2015-07-01 16:30:20 +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
aarne e97f31c175 found one type error in the whole RGL with the new (experimental) type checker, and fixed it. 2014-01-31 21:15:21 +00:00
aarne fdfc8d4dc2 removed that-less variants of ComplVS and SlashV2S from VerbEng, and added constructors ComplBareVS and SlashBareV2S to Extra, so that the library user can control the presence of "that". 2013-10-18 08:45:56 +00:00
hallgren 1846e6bf65 Nonlinear patterns in concrete syntax are now detected and reported as errors
Before, they were silently converted to linear patterns.
Nonlinear patterns in MorphoCat.gf, ParadigmsGre.gf and ParadigmsFin.gf have
been make linear by renaming pattern variables.
2013-09-09 19:52:08 +00:00
aarne 65d29d6ecb Ioanna's Gre fixes; find_V2 doesn't compile and is commented out. 2013-05-10 08:44:15 +00:00
aarne 526af17c52 removed obsolete Gre files 2013-04-26 06:00:42 +00:00
aarne 5612fcfacf Greek by Ioanna Papodopoulou - complete, 27th RGL language 2013-04-25 13:22:28 +00:00