Commit Graph

5675 Commits

Author SHA1 Message Date
jordi.saludes 7445a5fda6 Fixed A's in Cat phrasebook nationalities 2011-06-01 15:50:21 +00:00
virk.shafqat 3a20957aaa addedSymbolicPnb 2011-05-20 23:23:08 +00:00
virk.shafqat 198ba1a151 refinementsTextUrd11-19-05 2011-05-19 18:19:34 +00:00
virk.shafqat 9e38856a1e refinementsTextUrd-11-05-19 2011-05-19 15:57:12 +00:00
virk.shafqat ab120fc83f refinements-2011-05-19 2011-05-19 15:19:15 +00:00
virk.shafqat 96d8cc4c04 refinementsUrdPhrasebook-2011-05-13 2011-05-13 21:51:16 +00:00
aarne 026c5cddf5 fixing case in ParseEng 2011-05-13 16:25:58 +00:00
aarne ecdcf07140 addition to Urdu phrasebook 2011-05-13 11:14:47 +00:00
virk.shafqat 17d5a3ffbb refinementsUrdPhrbook-2011-05-12 2011-05-12 16:24:00 +00:00
virk.shafqat 9a31b52556 refinementsUrdPnb-2011-05-11 2011-05-11 00:11:52 +00:00
virk.shafqat e52f51007f refinementsPnb-2011-05-10 2011-05-10 15:27:57 +00:00
virk.shafqat 3796ffc0f8 refinementsUrd-2011-05-10 2011-05-10 14:53:08 +00:00
virk.shafqat c9019e9741 refinements-2011-05-10 2011-05-10 14:33:08 +00:00
hallgren 7f91547576 gfse: you can now add concrete syntax for arbitrary languages
Before, you had to pick a language from a list of supported languages, but now
you can also pick Other and change the language code afterwards.
2011-05-06 15:24:45 +00:00
aarne e8da38c814 Urdu phrasebook (not complete) 2011-05-06 12:29:46 +00:00
aarne 20517f98dc fixed problems in persian transliteration pointed out by Elnaz 2011-05-06 12:11:45 +00:00
aarne d3c98a4cdd added Punjabi to langs compiled with lib/src/Make 2011-05-06 09:09:41 +00:00
aarne 6028088291 updated Synopsis with Afrikaans, Punjabi, and additional modules 2011-05-06 09:00:07 +00:00
aarne f0bd6dc69f api for Afrikaans 2011-05-06 08:38:39 +00:00
virk.shafqat 458675a8e8 refinements-Pnb-2011-04-30 2011-04-30 18:11:48 +00:00
aarne 72b63e34bd transliteration via configuration file: ps -to=file or ps -from=file 2011-05-02 14:53:46 +00:00
hallgren cfc60feeab Ctrl-C shouldn't terminate the GF shell
This quick fix should make Ctrl-C in the GF shell behave more like it does in
other shells: even if no command is running, Ctrl-C now just gives you a new
prompt instead of terminating the shell.
2011-04-20 14:30:49 +00:00
aarne 09716eac28 Scandinavian IndefArt in substantival position fixed 2011-04-20 08:27:03 +00:00
hallgren 0df6ae1575 GFI.hs: some refactoring for readability
Also some minor changes in how Ctrl-C is handled and how CPU time is measured.
2011-04-15 15:05:44 +00:00
aarne b4696d307b added book in the documentation 2011-04-15 12:07:59 +00:00
hallgren ac54480e82 gfse: use "gf -server" mode instead of upload.cgi
Work in progress on making the online grammar editor use the new "gf -server"
mode instead of the old upload.cgi script. A first benefit is that the
editor now calls the server to check the syntax of lin & lincat definitions.
(But the links to minibar/gfshell/quiz are not available at the moment.)
2011-04-13 15:30:42 +00:00
hallgren 3488632558 Added a preliminary "gf -server" mode.
The command "gf -server" now starts a simple HTTP server on port 41295,
providing a simple web API to the GF compiler. It currently support the
follwing operations:

  * creating new temporary directories for grammar uploads,
  * uploading grammars files for use in the GF shell,
  * executing GF shell commands, and
  * accessing static files.

This means that GF now depends on some additional networking related packages,
but they should be available and easy to install on all platforms. There is
also a new configuration flag "server" in gf.cabal, so GF will be compiled
without support for server mode if the extra packages are unavailable.

Note that running gf -server while connected to the internet can be a security
risk. To prevent unauthorized access to the rest of the system, it is
advisable to run the server in GF_RESTRICTED mode and as a user with suitably
restricted file permissions.
2011-04-13 14:58:01 +00:00
hallgren c65f4cdb5c Show configuration options as part of build info
The GF shell welcome message will now include something like

	This is GF version 3.2.1-darcs. 
	Built on darwin/i386 with ghc-7.0, flags: interrupt

where a list of enabled configuration flags are included on the last line.

This is implemented in GF.Infra.BuildInfo by consulting the CPP macros
defined by the respective option in gf.cabal. For this to work,
GF.Infra.BuildInfo obviously has to be updated when new flags are added to
gf.cabal or if the CPP macros are renamed.

(Also, I suspect that if you reconfigure with different flags and rebuild GF
without cleaning first, the BuildInfo module will not be recompiled,
resulting in a misleading welcome message...)
2011-04-13 14:45:21 +00:00
hallgren dbea5b1a19 GF.Infra.UseIO: add functions readBinaryFile & writeBinaryFile 2011-04-13 14:44:18 +00:00
hallgren b2ffdd59eb minibar: fix typo 2011-04-11 13:03:46 +00:00
hallgren ff870aa8f9 minibar: small documentation updates and corrections 2011-04-11 13:00:52 +00:00
hallgren e10b11a1f0 GF shell restricted mode: found one more writeFile that should be restricted 2011-04-08 13:20:50 +00:00
hallgren 1e1d91056d avoid warning from ghc-7.0
Warning: -fglasgow-exts is deprecated: Use individual extensions instead
2011-04-06 13:57:19 +00:00
hallgren 7f830ec5df avoid warning from ghc-7.0
Warning: -fglasgow-exts is deprecated: Use individual extensions instead
2011-04-06 13:43:29 +00:00
aarne 58acad5689 generate Eq instance for GADT 2011-04-06 12:27:31 +00:00
aarne 393976d889 fixed the printing of predefined and list categories in haskell=gadt 2011-04-06 07:45:35 +00:00
hallgren 7416c9acb3 GFI.hs: refactoring to add a function for executing a single GF shell command.
The intention is to use the new function to implement a web service API to
the GF shell.
2011-04-04 20:06:55 +00:00
hallgren 1677df78c9 Add build info to the GF shell welcome message 2011-04-04 19:52:07 +00:00
hallgren 544010b36f gfse: somewhat simplified configuration/installation 2011-03-28 15:04:43 +00:00
hallgren 45547df48c gfse: added an alternate style sheet with the MOLTO color scheme 2011-03-28 14:46:15 +00:00
hallgren 22a70d2608 minibar: don't force focus to the typed input field after every word
On touch-based devices, the on-screen keyboard kept popping up after every word,
which was very annoying if you were entering a sentence by tapping on the
magnets.
2011-03-22 15:17:48 +00:00
hallgren b3e5386d36 minibar: add trailing slash in suggested grammar URLs 2011-03-22 15:12:54 +00:00
aarne 626a5881f2 compound nouns in ExtraSwe 2011-03-17 16:44:46 +00:00
gdetrez f2df9631fd Adding a missing file for the tokenizer... 2011-03-17 16:04:21 +00:00
gdetrez 5be1b5d493 Adding a basic lexicon-based tokenizer and the asociated command in gf shell 2011-02-10 15:00:06 +00:00
gdetrez 0c7676e6e9 Adding an option to the gf compiler to add an index to pgf files
This is gonna be used by the android library to skip unused part of a
pgf file
2010-12-11 16:36:30 +00:00
aarne 65384be75e started a grammar for grammatical terms, covering the cats of the RGL 2011-03-14 18:48:08 +00:00
aarne f46af8b54d smaller query grammars for MOLTO KRI 2011-03-13 19:49:41 +00:00
aarne 2e935bf2c0 some more transfer functions included in Grammar 2011-03-13 17:22:51 +00:00
aarne e6c353425c new Afrikaans by L&L Pretorius 2011-03-12 11:29:42 +00:00