Commit Graph

37 Commits

Author SHA1 Message Date
hallgren
9260797e6b Setup.hs: include Hindi and Thai by default in RGL builds 2012-03-01 14:25:41 +00:00
virk.shafqat
14e0237950 sindhipatch 2012-02-21 09:02:42 +00:00
normundsg
1966ce5eb6 Latvian: 1) added some extra things that are used by the Attempto grammar; 2) added notpresent tags; 3) compiles with Setup.hs and lib/src/Make.hs 2012-02-20 02:42:07 +00:00
Nick Frolov
31e1a657f9 Symbolic and Nound fixes for Russian 2011-11-24 16:13:08 +00:00
kr.angelov
f1cacffc98 now if some module is compiled with -no-pmcfg then the PMCFG code is generated at the end during the linking phase. Now the default compilation of the libraries with cabal is with -no-pmcfg. 2011-11-24 14:23:04 +00:00
hallgren
ae8dfb381c Setup.hs: less verbose output during the compilation of the RGL
Only show the full gf command line if an error occurs.
2011-10-20 13:36:42 +00:00
hallgren
6d0c06a365 Bug fix in setup for gf -server mode
Use the command "dist/build/gf/gf" instead of "gf" to compile the sample
grammars for the minibar, to avoid failing if gf is installed in a directory
which is not in the $PATH.
2011-10-14 19:34:55 +00:00
hallgren
50605036dd Bug fixes for gf -server mode and setup 2011-10-12 18:27:46 +00:00
hallgren
fa4af3d043 Improvements of "gf -server" mode and related setup
"gf -server" mode now contains everything needed to run the minibar and
the grammar editor (including example-based grammar writing).

The Setup.hs script installs the required files where gf -server can find them.
These files have been moved to a new directory: src/www.

The separate server program pgf-http is now obsolete.
2011-10-12 17:03:54 +00:00
hallgren
15d7a6ed74 test suite: Don't fail because of the Win32/Unix text file incompatibility. 2011-09-19 13:14:01 +00:00
virk.shafqat
458675a8e8 refinements-Pnb-2011-04-30 2011-04-30 18:11:48 +00:00
hallgren
b2b6def050 Include Urd in the default set of languages to compile 2010-12-23 11:44:40 +00:00
hallgren
d47da82d00 Setup.hs: build both alltenses and present by default
Now you can specify more than one mode when building and installing the RGL.
For example to build all modes, run

        runhaskell Setup.hs build alltenses present minimal

The default is to build alltenses and present, which means that a single
command,

        cabal install

is enough to obtain a normal installation of GF. Without this change, additional
build and install commands would be required before you can compile example
grammars, like Foods and Phrasebook.

The build-binary-dist.sh script has been simplified accordingly.
2010-12-22 21:18:47 +00:00
aarne
1ae49d8eb6 refined synopsis 2010-12-22 09:57:16 +00:00
aarne
4f244b6eec remove -src from Setup; simplified str2numeral; bug fix in Finnish ordinal inflection 2010-12-21 09:58:12 +00:00
hallgren
bef7f8b053 Setup.hs: improved langs=... option
Instead of just giving an explicit list of languages to compile, you can
now also add and remove languages from the default list by using langs=+...
or langs=-...

Examples:

	cabal build langs=Eng,Swe,Ger   -- as before, compile the given 3 langs
	cabal build langs=-Fin          -- use default languages, but omit Fin 
	cabal build langs=+Urd		-- use default languages + Urd

("cabal build ..." is the same as "runhaskell Setup.hs build ...")
2010-11-30 16:49:15 +00:00
hallgren
7669828212 Setup.hs: omit urdu when compiling the rgl, for now. 2010-11-30 16:29:36 +00:00
hallgren
5acc248546 Use the internal preprocessors mkPresent and mkMinimal 2010-11-26 18:49:01 +00:00
aarne
c4a69d7c4a flags in Setup.hs to speed up library compilation 2010-11-13 22:18:41 +00:00
aarne
bdf8805250 added Urd to Setup 2010-09-03 14:05:07 +00:00
kevin.kofler
e2d0c82f0c Setup.hs: Increase stack size for gf runs, fixes TryFin.gf build on Fedora 13 x86_64 2010-05-16 16:58:09 +00:00
krasimir
7290a2fc68 add Dutch to the list of languages in Setup.hs 2010-06-17 15:34:41 +00:00
krasimir
e8ee150215 add Bul to the list of languages in Setup.hs that have API 2010-04-19 09:43:58 +00:00
krasimir
a039808141 PGF is now real synchronous PMCFG 2010-01-17 21:35:36 +00:00
aarne
8ed9fe442d Dutch lexicon generated via Google translate; method in lib/src/MkExx.hs 2009-11-16 15:21:56 +00:00
krasimir
9412171621 integrate Polish in the build system 2009-10-24 12:32:03 +00:00
krasimir
d31e2fe040 bugfix in Setup.hs for Linux 2009-10-15 06:44:40 +00:00
krasimir
f89d582d3b the Setup.hs script should build the prelude also 2009-10-07 08:34:32 +00:00
krasimir
4b8ff9a4be add Romanian to the build system 2009-09-16 08:40:16 +00:00
krasimir
6c8ad4ca16 added preCopy and postCopy hooks in Setup.hs 2009-06-23 11:44:36 +00:00
aarne
2116f41bc2 next-lib renamed to lib, lib to old-lib 2009-06-22 15:39:08 +00:00
krasimir
2087339dfc make erasing=on the default 2009-06-16 14:50:06 +00:00
krasimir
3115ee32ce now rgl-pgf produces one .pgf per language and finally one combined .pgf 2009-06-16 12:15:11 +00:00
krasimir
055f33518e now 'runghc Setup.hs test' runs a simple extensible testsuite 2009-05-20 14:57:42 +00:00
krasimir
ac80d732df implement command 'runghc Setup.hs test' 2009-05-13 08:44:47 +00:00
krasimir
99285c97f6 added command rgl-none in Setup.hs 2009-05-14 20:12:41 +00:00
krasimir
6f8b601629 Setup.hs now builds RGL. the code is borrowed from Make.hs 2009-05-11 06:55:11 +00:00