Commit Graph

  • 0e80a79e1d Don't include DemoCat in server example grammar, since some parts are missing. bjorn 2008-08-22 13:15:51 +00:00
  • 52af19bd64 UTF8 encode all generated XML. bjorn 2008-08-22 09:47:42 +00:00
  • 849c146973 UTF8 encode all generated XML. bjorn 2008-08-22 09:47:42 +00:00
  • b6785df0d2 In GF.Compile.Export, output file name extensions should not have double dots. bjorn 2008-08-22 09:27:44 +00:00
  • acf1a17268 In GF.Compile.Export, output file name extensions should not have double dots. bjorn 2008-08-22 09:27:44 +00:00
  • a76a118ec9 Renamed the gf3 executable to gf in GF.cabal bjorn 2008-08-22 08:45:40 +00:00
  • 440d9c49b9 Renamed the gf3 executable to gf in GF.cabal bjorn 2008-08-22 08:45:40 +00:00
  • cb98536de1 Added srgs_xml_nonrec output format. bjorn 2008-08-22 08:43:58 +00:00
  • 243bd895e4 Added srgs_xml_nonrec output format. bjorn 2008-08-22 08:43:58 +00:00
  • 3e5414ba4a Removed Overload modules from GF.cabal. bjorn 2008-08-22 07:18:34 +00:00
  • b73f03b366 Removed Overload modules from GF.cabal. bjorn 2008-08-22 07:18:34 +00:00
  • 921798bc2a Added target to lib/resource/Makefile for building a tarball of the compiled resource library. bjorn 2008-08-22 07:06:07 +00:00
  • 02a80d68aa peace grammars patched to work with the new API aarne 2008-08-20 07:14:20 +00:00
  • 090d30c26b peace grammars patched to work with the new API aarne 2008-08-20 07:14:20 +00:00
  • 74373394a6 alternative prtType to help debugging overload resolution errors aarne 2008-08-20 06:44:58 +00:00
  • b962c3a0d3 alternative prtType to help debugging overload resolution errors aarne 2008-08-20 06:44:58 +00:00
  • 7d83d90e51 Use overloaded API in peace keeping grammar. Still not compiling, "no instance of mkS for Cl among ... Cl ... ?" bjorn 2008-08-19 14:35:45 +00:00
  • cff2b7ff7f removed the obsolete Overload modules aarne 2008-08-19 13:54:25 +00:00
  • a16b87f441 Use overloaded API in peace keeping grammar. Still not compiling, "no instance of mkS for Cl among ... Cl ... ?" bjorn 2008-08-19 14:35:45 +00:00
  • 7616c2ea23 removed some dead code from gflib.js bjorn 2008-08-19 14:08:02 +00:00
  • 9242bdfcc8 tweak ajax client html bjorn 2008-08-19 12:40:17 +00:00
  • 5477222a4d tweak ajax client html bjorn 2008-08-19 12:40:17 +00:00
  • e1584715cc First version of ajax / fastcgi interface with completion. bjorn 2008-08-19 12:29:31 +00:00
  • c43e5bf979 First version of ajax / fastcgi interface with completion. bjorn 2008-08-19 12:29:31 +00:00
  • bd977e7587 Remove src/server/grammar.pgf from the repo, use 'make food' if you want it. bjorn 2008-08-19 08:14:22 +00:00
  • 07e0449132 Remove src/server/grammar.pgf from the repo, use 'make food' if you want it. bjorn 2008-08-19 08:14:22 +00:00
  • d33fe739a7 Added parse and linearize functions to the fastcgi server. Some refactoring. bjorn 2008-08-19 08:13:51 +00:00
  • 9f9bb2d5b7 Added parse and linearize functions to the fastcgi server. Some refactoring. bjorn 2008-08-19 08:13:51 +00:00
  • 1510e08209 qualified a pattern in Constructors, preventing it to be taken as a variable aarne 2008-08-19 07:56:21 +00:00
  • bc3281d5e7 Fix order in the cncnames list in unionPGF. It was made in reverse. bjorn 2008-08-19 07:40:45 +00:00
  • 6d0cdf3cda Fix order in the cncnames list in unionPGF. It was made in reverse. bjorn 2008-08-19 07:40:45 +00:00
  • 55603b78f6 Ajax: use onsubmit instead of onclick, to catch Firefox auto-submit-on-enter. bjorn 2008-08-18 20:56:30 +00:00
  • 6856723e48 Ajax: use onsubmit instead of onclick, to catch Firefox auto-submit-on-enter. bjorn 2008-08-18 20:56:30 +00:00
  • c102ab157a Ajax translator: copied iPhone viewport stuff from Aarne's JS translator, untested. bjorn 2008-08-18 20:28:22 +00:00
  • 8767009f7e Ajax translator: copied iPhone viewport stuff from Aarne's JS translator, untested. bjorn 2008-08-18 20:28:22 +00:00
  • 972d7e4058 AJAX translator: update translation when the from or to language is changed. bjorn 2008-08-18 20:26:52 +00:00
  • 33b71088ec AJAX translator: update translation when the from or to language is changed. bjorn 2008-08-18 20:26:52 +00:00
  • 401d1cd7d1 Some peacekeeping clean-up, still far from compiling. bjorn 2008-08-18 20:22:25 +00:00
  • 591c44f05b Some peacekeeping clean-up, still far from compiling. bjorn 2008-08-18 20:22:25 +00:00
  • 256ab54807 Include all languages in the demo pgf for the fastcgi server. bjorn 2008-08-18 20:21:02 +00:00
  • 018b8e2f0d Include all languages in the demo pgf for the fastcgi server. bjorn 2008-08-18 20:21:02 +00:00
  • c6c9028022 Sort languages in fastcgi /languages output. bjorn 2008-08-18 20:20:32 +00:00
  • ca667318cf Sort languages in fastcgi /languages output. bjorn 2008-08-18 20:20:32 +00:00
  • 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. bjorn 2008-08-18 19:05:46 +00:00
  • dc1db399f6 When producing PGF, do UTF-8 encoding of the whole file after pretty printing instead of walking through the PGF structure before pretty-printing. bjorn 2008-08-18 12:34:56 +00:00
  • 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. bjorn 2008-08-18 12:34:56 +00:00
  • 255b5488f4 Updated AJAX translator to make use of canParse and the fixed parseAllLangs. bjorn 2008-08-18 09:38:21 +00:00
  • ae90af3211 Updated AJAX translator to make use of canParse and the fixed parseAllLangs. bjorn 2008-08-18 09:38:21 +00:00
  • 686dd71041 Cleaned up the Demo conrecte syntaxes now that they don't have to list the restricted inheritance. Added language codes. bjorn 2008-08-18 09:37:01 +00:00
  • 7007a875e3 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. bjorn 2008-08-18 09:26:24 +00:00
  • 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. bjorn 2008-08-18 09:26:24 +00:00
  • 3a21fcd4ba Added languageCode function to the PGF API. bjorn 2008-08-18 09:25:43 +00:00
  • 5e1836d4f9 Added languageCode function to the PGF API. bjorn 2008-08-18 09:25:43 +00:00
  • 7743fee09c Removed spurious lin foo = bar in DemoEng. bjorn 2008-08-18 08:58:11 +00:00
  • d22474ea8d Updated resource grammar fle list in GF.cabal bjorn 2008-08-18 08:47:39 +00:00
  • c9983ac6b5 Updated resource grammar fle list in GF.cabal bjorn 2008-08-18 08:47:39 +00:00
  • f28dc5ac16 gfc can now combine PGF files. bjorn 2008-08-15 21:10:54 +00:00
  • 95cdaaf4c4 gfc can now combine PGF files. bjorn 2008-08-15 21:10:54 +00:00
  • 137133b742 Added peacekeeping example back in. Doesn't compile yet. bjorn 2008-08-15 20:21:12 +00:00
  • 66c927937a bronzeage grammar restored except for three ones with issues ; arabic transliteration added aarne 2008-08-16 18:55:28 +00:00
  • ddbeff3028 improved error message in pgf compilation to help debugging aarne 2008-08-16 12:27:59 +00:00
  • 22c434a39b Added Makefile for fastcgi server. bjorn 2008-08-15 20:33:04 +00:00
  • 5bdfedcedf Qualify PGF import in fastcgi server, to avoid hiding Language, which breaks with older cgi versions. bjorn 2008-08-15 20:31:23 +00:00
  • 0f51f5187c Added peacekeeping example back in. Doesn't compile yet. bjorn 2008-08-15 20:21:12 +00:00
  • 65a25ad181 bronzeage grammar restored except for three ones with issues ; arabic transliteration added aarne 2008-08-16 18:55:28 +00:00
  • b1b2e6766d workaround in Spanish and French for a pgf compiler issue showing in pronArg aarne 2008-08-16 12:29:04 +00:00
  • 20fe8a8c20 improved error message in pgf compilation to help debugging aarne 2008-08-16 12:27:59 +00:00
  • e2f5add011 Added Makefile for fastcgi server. bjorn 2008-08-15 20:33:04 +00:00
  • e121f8f4cf Qualify PGF import in fastcgi server, to avoid hiding Language, which breaks with older cgi versions. bjorn 2008-08-15 20:31:23 +00:00
  • 38cdd44001 numerals demo on the web aarne 2008-08-15 15:28:09 +00:00
  • 7df3c6ec72 numerals demo on the web aarne 2008-08-15 15:28:09 +00:00
  • ba78322409 examples of morphological synthesis/analysis as top-level grammars aarne 2008-08-15 12:41:04 +00:00
  • f56ad59698 examples of morphological synthesis/analysis as top-level grammars aarne 2008-08-15 12:41:04 +00:00
  • 0475ef3414 Added a basic stylesheet for the js and ajax translators. bjorn 2008-08-15 11:46:36 +00:00
  • c00007c49e Added a basic stylesheet for the js and ajax translators. bjorn 2008-08-15 11:46:36 +00:00
  • 7a2268d9d5 JS translator: fixed typo, before a ul was produced instead of an li bjorn 2008-08-15 11:28:41 +00:00
  • 310d7cc63a JS translator: fixed typo, before a ul was produced instead of an li bjorn 2008-08-15 11:28:41 +00:00
  • 08fae303df First working version of the AJAX translation client. bjorn 2008-08-15 11:14:13 +00:00
  • a4bc886a31 First working version of the AJAX translation client. bjorn 2008-08-15 11:14:13 +00:00
  • c32be3e827 Change JS translation to replace existing output when a new translation is done. bjorn 2008-08-15 10:53:59 +00:00
  • 8719bb9530 typo in AllHin corrected; excluded ReflA2 in Demo (not needed in concretes any more) aarne 2008-08-14 20:30:17 +00:00
  • 5368b95a45 added linearization of john_PN - hope it's right aarne 2008-08-14 20:29:21 +00:00
  • 0ce04f1a6e forgiving names in concrete that are not in abstract, with a warning (no warning guaranteed if this is because restricted inheritance) aarne 2008-08-14 20:25:52 +00:00
  • 1302960992 forgiving names in concrete that are not in abstract, with a warning (no warning guaranteed if this is because restricted inheritance) aarne 2008-08-14 20:25:52 +00:00
  • 5939be16b8 Refactor js translator to be able to share some code with the ajax version. bjorn 2008-08-14 18:51:06 +00:00
  • bf7ec18141 Started working on an AJAX client for the fastcgi server. bjorn 2008-08-14 15:56:52 +00:00
  • b8de42f050 Started working on an AJAX client for the fastcgi server. bjorn 2008-08-14 15:56:52 +00:00
  • 094150fde1 Added /cats and /langs to fastcgi server. bjorn 2008-08-14 15:56:38 +00:00
  • f29fac369e Added /cats and /langs to fastcgi server. bjorn 2008-08-14 15:56:38 +00:00
  • ca5a30b3f7 Print gf commands in Make.hs for debugging purposes. bjorn 2008-08-14 15:25:05 +00:00
  • 0caebe9092 removed optStr from IdiomEng aarne 2008-08-14 14:21:42 +00:00
  • ac6b028b1b changed startcat from Phr to S in Demo aarne 2008-08-14 14:17:27 +00:00
  • b2e7b6f89d Better error handlig in the GF FastCGi server. bjorn 2008-08-14 12:08:38 +00:00
  • 4792a92eb5 Better error handlig in the GF FastCGi server. bjorn 2008-08-14 12:08:38 +00:00
  • a7aa8fb981 Added first version of the GF FastCGI server. bjorn 2008-08-14 09:06:26 +00:00
  • 38d37c4149 Added first version of the GF FastCGI server. bjorn 2008-08-14 09:06:26 +00:00
  • 3aee461ec0 Added startcat flag to Demo.gf bjorn 2008-08-14 08:07:24 +00:00
  • 77270a010a Remove the grammars directory. It was full of old grammars that don't compile these days. See the old source distributions if you want them. bjorn 2008-08-14 07:58:04 +00:00
  • 5245c1e2b7 Remove the grammars directory. It was full of old grammars that don't compile these days. See the old source distributions if you want them. bjorn 2008-08-14 07:58:04 +00:00
  • 664bc8f534 Added .PHONY to lib/resource/Makefile bjorn 2008-08-14 07:57:50 +00:00