Commit Graph

3353 Commits

Author SHA1 Message Date
bjorn
27fdc19b20 Added missing space in Constructors.gf whose absence introduced an extra space in the library synopsis. 2008-08-29 08:41:38 +00:00
bjorn
1919fe99a6 gf-server: the readData function given to getData should be m a, not IO a. 2008-08-24 20:44:30 +00:00
bjorn
85bfb64e2a First (hacky) working version of FastCGI JSON morphology server. 2008-08-24 19:31:12 +00:00
bjorn
f8487ec6b9 Move CGIError stuff to FastCGIUtils. 2008-08-24 19:12:44 +00:00
bjorn
646bf9c4d8 URL decode text input in fastcgi server, including %uXXXX sequences. 2008-08-24 17:39:24 +00:00
aarne
9a29d50763 fixed unstressed e in Swedish fifth declension 2008-08-24 15:35:06 +00:00
bjorn
2ffc138e52 Overload mkAdv in TrySwe. 2008-08-24 14:53:45 +00:00
bjorn
f246747496 Completed SISR 1.0 support (untested). 2008-08-24 14:53:21 +00:00
bjorn
c42e4c0690 Export modifyFlags and modifyModuleFlags from GF.Infra.Options. 2008-08-24 14:52:49 +00:00
bjorn
b8fae8f5a4 Re-enable Catalan in the server demo grammar. 2008-08-24 10:19:44 +00:00
jordi.saludes
65cf602ce8 Words added in Cat.
Some verbs in LexiconCat are defined as regular by default. TODO: put the right one in BeschCat.
2008-08-23 22:19:04 +00:00
jordi.saludes
7d0fa02081 make bread_N in Cat irregular. 2008-08-23 15:19:39 +00:00
aarne
dd839fa867 updated gf-bibliography 2008-08-23 16:34:42 +00:00
aarne
e8e95e140c removed repeated CPU time printing in GFI 2008-08-23 15:35:39 +00:00
aarne
65e92e6dab infForm added to Catalan ; debugging alternative in PGF generation 2008-08-23 14:26:34 +00:00
aarne
976b73d4c9 error fix in Constructors documentation 2008-08-22 14:32:42 +00:00
bjorn
c80538e068 Added target for building translation server grammar for LangX. 2008-08-23 10:33:16 +00:00
bjorn
45ab3ea0d9 Added README with build instructions for the fastcgi server. 2008-08-22 13:16:31 +00:00
bjorn
0e80a79e1d Don't include DemoCat in server example grammar, since some parts are missing. 2008-08-22 13:15:51 +00:00
bjorn
849c146973 UTF8 encode all generated XML. 2008-08-22 09:47:42 +00:00
bjorn
acf1a17268 In GF.Compile.Export, output file name extensions should not have double dots. 2008-08-22 09:27:44 +00:00
bjorn
440d9c49b9 Renamed the gf3 executable to gf in GF.cabal 2008-08-22 08:45:40 +00:00
bjorn
243bd895e4 Added srgs_xml_nonrec output format. 2008-08-22 08:43:58 +00:00
bjorn
b73f03b366 Removed Overload modules from GF.cabal. 2008-08-22 07:18:34 +00:00
bjorn
921798bc2a Added target to lib/resource/Makefile for building a tarball of the compiled resource library. 2008-08-22 07:06:07 +00:00
aarne
090d30c26b peace grammars patched to work with the new API 2008-08-20 07:14:20 +00:00
aarne
b962c3a0d3 alternative prtType to help debugging overload resolution errors 2008-08-20 06:44:58 +00:00
aarne
cff2b7ff7f removed the obsolete Overload modules 2008-08-19 13:54:25 +00:00
bjorn
a16b87f441 Use overloaded API in peace keeping grammar. Still not compiling, "no instance of mkS for Cl among ... Cl ... ?" 2008-08-19 14:35:45 +00:00
bjorn
7616c2ea23 removed some dead code from gflib.js 2008-08-19 14:08:02 +00:00
bjorn
5477222a4d tweak ajax client html 2008-08-19 12:40:17 +00:00
bjorn
c43e5bf979 First version of ajax / fastcgi interface with completion. 2008-08-19 12:29:31 +00:00
bjorn
07e0449132 Remove src/server/grammar.pgf from the repo, use 'make food' if you want it. 2008-08-19 08:14:22 +00:00
bjorn
9f9bb2d5b7 Added parse and linearize functions to the fastcgi server. Some refactoring. 2008-08-19 08:13:51 +00:00
aarne
1510e08209 qualified a pattern in Constructors, preventing it to be taken as a variable 2008-08-19 07:56:21 +00:00
bjorn
6d0cdf3cda Fix order in the cncnames list in unionPGF. It was made in reverse. 2008-08-19 07:40:45 +00:00
bjorn
6856723e48 Ajax: use onsubmit instead of onclick, to catch Firefox auto-submit-on-enter. 2008-08-18 20:56:30 +00:00
bjorn
8767009f7e Ajax translator: copied iPhone viewport stuff from Aarne's JS translator, untested. 2008-08-18 20:28:22 +00:00
bjorn
33b71088ec AJAX translator: update translation when the from or to language is changed. 2008-08-18 20:26:52 +00:00
bjorn
591c44f05b Some peacekeeping clean-up, still far from compiling. 2008-08-18 20:22:25 +00:00
bjorn
018b8e2f0d Include all languages in the demo pgf for the fastcgi server. 2008-08-18 20:21:02 +00:00
bjorn
ca667318cf Sort languages in fastcgi /languages output. 2008-08-18 20:20:32 +00:00
bjorn
6360d3f473 Fixed bug in russian regular compartives. Predef.tk/dp have *really* confusing names, I don't think I ever got it right on the first try. 2008-08-18 19:05:46 +00:00
bjorn
4925580877 When producing PGF, do UTF-8 encoding of the whole file after pretty printing instead of walking through the PGF structure before pretty-printing.
The old code was brittle, and only converted strings in the lins and opers, not in printnames and parsers. The old code also double encoded some grammars when using gfc to combine PGF files.
2008-08-18 12:34:56 +00:00
bjorn
ae90af3211 Updated AJAX translator to make use of canParse and the fixed parseAllLangs. 2008-08-18 09:38:21 +00:00
bjorn
686dd71041 Cleaned up the Demo conrecte syntaxes now that they don't have to list the restricted inheritance. Added language codes. 2008-08-18 09:37:01 +00:00
bjorn
78cd216243 Added canParse function to the PGF API. Make parseAllLang and parseAll skip languages which don't have parsers, instead of always throwing exceptions when some language is missing a parser. 2008-08-18 09:26:24 +00:00
bjorn
5e1836d4f9 Added languageCode function to the PGF API. 2008-08-18 09:25:43 +00:00
bjorn
7743fee09c Removed spurious lin foo = bar in DemoEng. 2008-08-18 08:58:11 +00:00
bjorn
c9983ac6b5 Updated resource grammar fle list in GF.cabal 2008-08-18 08:47:39 +00:00