Commit Graph
53 Commits
Author SHA1 Message Date
hallgren 06aa7948da Add a Quick Links menu to the Libary Synopsis web page.
The menu is generated dynamically by JavaScript functions defined in
quicklinks.js, by traversing the Detailed Table of Contents in the 
generated synopsis.html.
2017-06-01 18:21:52 +00:00
hallgren 86c5433c96 Remove lib/src/ancient_greek.tar.gz 2016-06-20 11:04:31 +00:00
hallgren ffe2a1aedb Enable compilation of Ancient Greek in Setup.hs
Also adjust the -path pragmas in a few places in lib/src/ancient_greek
2016-06-02 13:56:19 +00:00
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 b3781dc4ad translator/DictionarySwe.gf: change fetch_V2 from "dra ut" to "hämta" 2015-07-21 15:06:04 +00:00
hallgren e0789a6839 translator/DictionarySwe.gf: film_V and shock_V2. 2015-07-20 14:45:58 +00:00
hallgren df1496e697 translator/DictionarySwe.gf: 38 new words
Also added wince_V in Dictionary.gf and DictionaryEng.gf
2015-07-20 14:23:46 +00:00
hallgren 2162e2adaf translator/DictionarySwe.gf: 26 new words and fixes 2015-07-16 13:11:15 +00:00
hallgren c50085a765 translator/DictionarySwe.gf: called_A, injured_A, shocked_A & shoddy_N 2015-07-01 08:23:10 +00:00
hallgren 3bf72a83a8 translator/DictionarySwe.gf: combined_A, combining_N & sleek_A 2015-06-29 14:01:47 +00:00
hallgren 7704678e41 translator/DictionarySwe.gf: fix brush_V2 2015-05-27 16:02:47 +00:00
hallgren 65e3179fa1 translator/DictionarySwe.gf: fixes for landslide_N, mudslide_N and race_2_N 2015-05-07 13:48:51 +00:00
hallgren ec0f0df097 translator/DictionarySwe.gf: fix hug_V2 2015-04-17 11:33:28 +00:00
hallgren 0fb2f9a99e translator/DictionarySwe.gf: nordic_A, washing_N 2015-03-31 12:24:54 +00:00
hallgren dc78e520ad translator/DictionaryTha.gf: fix a syntax error 2015-03-25 14:32:37 +00:00
hallgren 9a7fbd1803 translator/DictionarySwe.gf: add eclipse_N and eclipse_V2 2015-03-23 11:52:06 +00:00
hallgren 6a303eb365 translator/DictionarySwe.gf: some fixes and new words, e.g. neither7nor_DConj 2015-03-17 15:49:56 +00:00
hallgren 15c515a381 translation/DictionarySwe.gf: three new words
Ignoring suspicious entries latest_N, times_N and pend_V.
2015-03-16 15:22:03 +00:00
hallgren 354b89e588 translator/DictionarySwe.gf: three new words and a gender correction 2015-03-16 14:14:14 +00:00
hallgren 134aa8cb85 Fix -path directives for Mongolian
+ Remove references to alltenses.
+ Remove references to ../../prelude
+ Add missing reference to ../common in mongolian/SymbolMon.gf
2015-03-13 14:41:30 +00:00
hallgren 45cdb6b40c translator/DictionarySwe.gf: 15 new words and a few fixes 2015-02-24 15:10:24 +00:00
hallgren 88c969fd84 translator/DictionarySwe.gf: add oriented_A and simplify_V2 2015-02-23 16:39:54 +00:00
hallgren 08dd2540a2 translator/Dictionary.gf: remove video_A 2015-02-20 14:37:41 +00:00
hallgren b286fc9cef translator/Dictionary*.gf: remove video_A 2015-02-20 14:31:23 +00:00
hallgren 96f5cd210e translator/DictionarySwe.gf: 6 new words
Found when translating a few paragraphs from a new article
2015-02-20 14:29:35 +00:00
hallgren 25b9ba20bf DictionarySwe.gf: add activistMasc_N & dedicated_A 2014-12-10 13:10:59 +00:00
hallgren fb354a5672 StructuralEng.gfo: lift variant "can't" | "cannot" to the top level to avoid a PMCFG generation problem 2014-11-17 13:16:47 +00:00
hallgren 1f0738022c translator/DictionarySwe.gf: define start_to_VV 2014-11-10 14:18:54 +00:00
hallgren cec28ebec0 Lang???.gf: exclude Documentation from present mode
The Documentation module is excluded from present mode in abstract/Lang.gf,
so it needs to be excluded in the corresponding concrete syntaxes too
to avoid problems.
2014-10-23 16:32:55 +00:00
hallgren 756e253ae5 translator/DictionarySwe.gf: remove bogus variant "hinna" from film_V2 2014-09-26 16:04:55 +00:00
hallgren 4c38803eea Convert many RGL modules from Latin-1 to UTF-8 to speed up compilation
Also add flags coding=utf8 to silence warnings.
2014-08-19 19:42:05 +00:00
hallgren c1690ecc4d Convert BeschCat.gf & BeschSpa.gf to UTF-8 to speed up compilation
Big patch!
2014-08-19 19:39:35 +00:00
hallgren 741eecb350 Convert lib/src/spanish/IrregSpa.gf to UTF-8 to speed up compilation
Huge patch!
2014-08-19 19:32:49 +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
hallgren 9eb3971748 lib/tests/french/bescherelle: rename files containing non-ASCII characters 2014-06-19 10:43:07 +00:00
hallgren c5031042e0 Fix like_Subj in translator/DictionarySwe.gf 2014-06-18 12:12:45 +00:00
hallgren bc2e320fd8 Merge Estonian v1.0.0-alpha from Kaarel Kaljurand 2014-06-16 13:58:04 +00:00
hallgren 9c347b998b translator/DictionarySwe.gf: add a few nouns and adverbs 2014-05-13 13:32:53 +00:00
hallgren 4002d706ee translator/DictionarySwe: add panic_V 2014-05-07 13:01:26 +00:00
hallgren f315c92d2f translator/DictionarySwe.gf: fix learn_V
Copied from LexiconSwe.gf.

Also a small fix in lib/src/Makefile.
2014-04-17 13:15:23 +00:00
hallgren 960ebe9733 Fixes for compiling Translate10.pgf 2014-04-04 19:04:16 +00:00
hallgren f7ab34bbaf 149 new words in DictinarySwe.gf (mostly geographical names) 2014-04-04 19:02:42 +00:00
hallgren c065d843ee translator/DictionarySwe.gf: fix for tasty_A, mkA "god" "gott" 2014-04-01 14:38:16 +00:00
hallgren f4dd83ac83 lib/src/Makefile: TranslateChi needs a bigger stack
Note: TranslateFin fails to compile because of an overloading problem.
2014-02-07 17:00:16 +00:00
hallgren e06e946db8 lib/src/Makefile: make -j Parse8.pgf
The parse grammar Parse8.pgf for 8 languages can now be built in parallel with
make -j. Finnish requires a lot of RAM. French requires a lot of time.

Other related make targets available for convenience:

	make Parse: create Parse???.pgf for the 8 individual languages
	make Parse8: create Parse8.pgf assuming all Parse???.pgf already exist

Note: these make targets (and some others) use the gf executable and RGL
library that are installed on the system (found via $PATH and $GF_LIB_PATH,
respectively).
2014-01-10 13:28:53 +00:00
hallgren 1ccd47784d Add explicit character encoding specifications in 39 more RGL modules
To silence warnings and avoid potential problems after changing the default
encoding to UTF-8.
2013-11-25 18:17:12 +00:00
hallgren 2c8fed764b lib/src: adding --# -coding=latin1 to 119 RGL modules
Adding coding pragmas
  
	--# -coding=latin1
  
so that grammars will continue to work when we change the default character
encoding to UTF-8.
2013-11-22 17:26:00 +00:00
hallgren 48a82f1cb9 Restore ExtraFre to AllFre
ExtraFre was removed from AllFre yesterday for some reason, but it is needed
to compile PhrasebookFre, so I restored it.
2013-11-01 16:30:22 +00:00
hallgren ff92503142 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
hallgren 4b6b6b6080 Import Folkets Lexikon: report the number of words found
And some other minor tweaks.
2013-04-11 08:54:39 +00:00
hallgren 35fa0a34b8 Import of Folkets Lexikon: the heap size limit was too low for 64-bit systems
The default heap size limit has been increased to 3GB. On 32-bit system you
can use a lower limit:

	make M=1500M
2013-04-10 16:42:35 +00:00
hallgren e137d31aa6 Adding a script to import Folkets Lexikon
In order to compile DictEngSwe.gf, you must now first run this script to create
FolketsLexikon.gf.

	cd lib/src/swedish/folketslexikon
	make

This will automatically download and convert Folkets Lexikon.
If the download fails, a dummy version of FolketsLexikon.gf will remain,
allowing DictEngSwe.gf to be compiled anyway.
2013-04-10 16:25:48 +00:00
hallgren f7bc27b9b6 ParseEngAbs.gf & ParseEng.gf: change module name to match file name.
Also remove bogus path.
2011-10-20 13:17:39 +00:00