1
0
forked from GitHub/gf-core

97 Commits

Author SHA1 Message Date
hallgren
0bf9627d79 Add Chinese to the list of installed RGL languages and support it in the web apps
Aarne says the Chinese resource grammar is complete, but not yet completely
correct.
2012-10-22 10:16:10 +00:00
hallgren
584b6ba86d Use NOINLINE for build info and darcs version info
... to avoid unnecessary recompilation of other modules.
2012-10-18 20:01:22 +00:00
hallgren
7e8bab04c5 Setup.hs: add Maltese to the list of known RGL languages, but don't compile it by default 2012-09-27 14:28:59 +00:00
hallgren
82c9354e0d Setup.hs: Persian does not support mkPresent 2012-09-26 15:21:34 +00:00
hallgren
81895ad067 Add Persian to the list of installed RGL langauges 2012-09-26 13:04:18 +00:00
aarne
d989005e01 tried to change Jap to Jpn everywhere 2012-06-11 20:08:14 +00:00
gregoire.detrez
12b2a0d665 Small Setup.hs bug fix
Setup.hs failed to generate DarcsVersion_gf if dist/build/autogen does not exists.g
Added a line to create the directory if absent.
2012-06-09 12:49:01 +00:00
hallgren
22e1a5b9f7 Setup.hs: fix two problems with querying darcs 2012-05-30 16:15:59 +00:00
hallgren
13cda24924 More detailed version info in the startup message
The Setup.hs script now queries darcs to create more detailed version info
to include in the startup message.

Note thought that with distributed version control systems like darcs,
the only way to uniquely identify a version is by the set of patches included.
Since the patches are not totally ordered, just looking at the last patch is
not enough.

For official releases, we tag the current set of patches so we can refer to
it by name (e.g. RELEASE-3.3.3).
2012-05-30 15:45:45 +00:00
hallgren
e90e1202c4 Integrate Japanese
* Update Setup.hs to build Japanese by default.
* News item about Japanese on the home page.
* Add Japanese to the supported RGL imports in the grammar editor (gfse).
2012-05-15 13:11:32 +00:00
hallgren
f34b052847 Setup.hs: include Hindi and Thai by default in RGL builds 2012-03-01 14:25:41 +00:00
virk.shafqat
5403e31264 sindhipatch 2012-02-21 09:02:42 +00:00
normundsg
e25ee8e2fb 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
dc121c6bd3 Symbolic and Nound fixes for Russian 2011-11-24 16:13:08 +00:00
kr.angelov
c05be64838 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
a9f4d42652 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
c0becec2bd 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
8266df8f58 Bug fixes for gf -server mode and setup 2011-10-12 18:27:46 +00:00
hallgren
44d1a5a9f7 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
343e852bfe test suite: Don't fail because of the Win32/Unix text file incompatibility. 2011-09-19 13:14:01 +00:00
virk.shafqat
4fa3130a32 refinements-Pnb-2011-04-30 2011-04-30 18:11:48 +00:00
hallgren
bde22eadb5 Include Urd in the default set of languages to compile 2010-12-23 11:44:40 +00:00
hallgren
0b4aad88f6 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
eb478cecb6 refined synopsis 2010-12-22 09:57:16 +00:00
aarne
e1e0bf1a22 remove -src from Setup; simplified str2numeral; bug fix in Finnish ordinal inflection 2010-12-21 09:58:12 +00:00
hallgren
acfa9722e2 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
47c276a656 Setup.hs: omit urdu when compiling the rgl, for now. 2010-11-30 16:29:36 +00:00
hallgren
4b45cc6b48 Use the internal preprocessors mkPresent and mkMinimal 2010-11-26 18:49:01 +00:00
aarne
75570c9820 flags in Setup.hs to speed up library compilation 2010-11-13 22:18:41 +00:00
aarne
d62c7b8dc1 added Urd to Setup 2010-09-03 14:05:07 +00:00
kevin.kofler
f2619d010d 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
ad814e12c5 add Dutch to the list of languages in Setup.hs 2010-06-17 15:34:41 +00:00
krasimir
bc504835d2 add Bul to the list of languages in Setup.hs that have API 2010-04-19 09:43:58 +00:00
krasimir
9b362ff231 PGF is now real synchronous PMCFG 2010-01-17 21:35:36 +00:00
aarne
e91cd9c832 Dutch lexicon generated via Google translate; method in lib/src/MkExx.hs 2009-11-16 15:21:56 +00:00
krasimir
ca5b6b0eec integrate Polish in the build system 2009-10-24 12:32:03 +00:00
krasimir
93da32c1d4 bugfix in Setup.hs for Linux 2009-10-15 06:44:40 +00:00
krasimir
68c866cf11 the Setup.hs script should build the prelude also 2009-10-07 08:34:32 +00:00
krasimir
118e1e6bd8 add Romanian to the build system 2009-09-16 08:40:16 +00:00
krasimir
8e72ff3a1c added preCopy and postCopy hooks in Setup.hs 2009-06-23 11:44:36 +00:00
aarne
e89fdae2fa next-lib renamed to lib, lib to old-lib 2009-06-22 15:39:08 +00:00
krasimir
e69f8165c0 make erasing=on the default 2009-06-16 14:50:06 +00:00
krasimir
6d82c8ed3d now rgl-pgf produces one .pgf per language and finally one combined .pgf 2009-06-16 12:15:11 +00:00
krasimir
cb6527c018 now 'runghc Setup.hs test' runs a simple extensible testsuite 2009-05-20 14:57:42 +00:00
krasimir
2a80a301d4 implement command 'runghc Setup.hs test' 2009-05-13 08:44:47 +00:00
krasimir
c307fd50c0 added command rgl-none in Setup.hs 2009-05-14 20:12:41 +00:00
krasimir
f283944f5c Setup.hs now builds RGL. the code is borrowed from Make.hs 2009-05-11 06:55:11 +00:00