Commit Graph

  • 617c707a77 Update gf-server to compile with changed PGF API. bjorn 2008-10-20 12:07:05 +00:00
  • ae3dac1b56 Update gf-server to compile with changed PGF API. bjorn 2008-10-20 12:07:05 +00:00
  • d41616dd6a Added Read and Show instances for CId. Also added readCId :: String -> Maybe CId, and use that for readLanguage. bjorn 2008-10-20 11:59:31 +00:00
  • 335a8d6977 Added Read and Show instances for CId. Also added readCId :: String -> Maybe CId, and use that for readLanguage. bjorn 2008-10-20 11:59:31 +00:00
  • 2174690c5e Added Read and Show instances for Type. This required moving some code around. bjorn 2008-10-20 11:36:17 +00:00
  • 0c442d9ac9 Added Read and Show instances for Type. This required moving some code around. bjorn 2008-10-20 11:36:17 +00:00
  • a26290659d Replace Category with Type in the PGF API. Added readLanguage and showLanguage. bjorn 2008-10-20 11:35:05 +00:00
  • 29ca3b692b Replace Category with Type in the PGF API. Added readLanguage and showLanguage. bjorn 2008-10-20 11:35:05 +00:00
  • 3d92897a94 more test/srg to examples/test/srg krasimir 2008-10-20 11:11:59 +00:00
  • 14cd21db6d more test/srg to examples/test/srg krasimir 2008-10-20 11:11:59 +00:00
  • 6f7d0ab08d added parser test suite krasimir 2008-10-20 09:40:09 +00:00
  • 31ccbdb34c added parser test suite krasimir 2008-10-20 09:40:09 +00:00
  • 072f19212f Added 'run' target to gf-server Makefile. It compiles the server, and starts lighttpd. bjorn 2008-10-20 08:46:32 +00:00
  • 9638567274 Added 'run' target to gf-server Makefile. It compiles the server, and starts lighttpd. bjorn 2008-10-20 08:46:32 +00:00
  • e6d7e5e97f Added compiled GWT code to repo. bjorn 2008-10-20 08:45:42 +00:00
  • 43ab23b978 Added compiled GWT code to repo. bjorn 2008-10-20 08:45:42 +00:00
  • a11ccb9cd8 gf-server: New URL format: /grammar.pgf/command bjorn 2008-10-20 08:45:00 +00:00
  • 547f362f83 gf-server: New URL format: /grammar.pgf/command bjorn 2008-10-20 08:45:00 +00:00
  • ee08605aee lighttpd.conf tweak bjorn 2008-10-20 08:43:23 +00:00
  • 95fca30b5d lighttpd.conf tweak bjorn 2008-10-20 08:43:23 +00:00
  • d205011470 fastcgi: better grammar cache implementation: don't deadlock on exceptions bjorn 2008-10-20 08:24:01 +00:00
  • dd17e7a2cc fastcgi: better grammar cache implementation: don't deadlock on exceptions bjorn 2008-10-20 08:24:01 +00:00
  • 0205f341f5 (fastcgi) replace DataRef with a more general Cache type, which can hold several PGF grammars. bjorn 2008-10-17 14:12:53 +00:00
  • eb0fefec28 preparation for dep. types. The -cat option can take any type instead of just a category. The PGF API is generalized as well. krasimir 2008-10-20 08:42:39 +00:00
  • 96bea5a0bb export wildCId from PGF.hs krasimir 2008-10-20 07:56:32 +00:00
  • abe8da32fd add parser and pretty printer for types krasimir 2008-10-20 07:52:14 +00:00
  • 418856d9bf move the literal category names to PGF.Macros krasimir 2008-10-19 14:21:58 +00:00
  • 9837fb8fb1 move PGF.Quiz to GF.Quiz. It is not part of the PGF API krasimir 2008-10-19 16:38:56 +00:00
  • e7656c9d2e (fastcgi) replace DataRef with a more general Cache type, which can hold several PGF grammars. bjorn 2008-10-17 14:12:53 +00:00
  • 1ddb738459 preparation for dep. types. The -cat option can take any type instead of just a category. The PGF API is generalized as well. krasimir 2008-10-20 08:42:39 +00:00
  • 5dfab9e431 export wildCId from PGF.hs krasimir 2008-10-20 07:56:32 +00:00
  • ef0ff58516 add parser and pretty printer for types krasimir 2008-10-20 07:52:14 +00:00
  • d27b017c7f move the literal category names to PGF.Macros krasimir 2008-10-19 14:21:58 +00:00
  • c44f79dd64 fixed type error in German Feder, added erasing flag to LangGer aarne 2008-10-19 10:02:21 +00:00
  • 286be2e4d9 move PGF.Quiz to GF.Quiz. It is not part of the PGF API krasimir 2008-10-19 16:38:56 +00:00
  • 21ff851493 Added PredNP to demo grammars. bjorn 2008-10-17 13:00:17 +00:00
  • a6c4747b11 lighttpd.conf: use default server.event-handler = "select" bjorn 2008-10-17 12:57:52 +00:00
  • 333efb4063 lighttpd.conf: use default server.event-handler = "select" bjorn 2008-10-17 12:57:52 +00:00
  • 48a031db98 gf-server-jsapi: clean up old callbacks bjorn 2008-10-17 12:57:34 +00:00
  • 7317d41c84 gf-server-jsapi: clean up old callbacks bjorn 2008-10-17 12:57:34 +00:00
  • feb3e84fb5 Don't include parsers for Ger, Dan, Nor in server/demo.pgf and server/lang.pgf bjorn 2008-10-17 12:41:48 +00:00
  • 2df86ad3fb Don't include parsers for Ger, Dan, Nor in server/demo.pgf and server/lang.pgf bjorn 2008-10-17 12:41:48 +00:00
  • 411326de31 Fixed URL in gwt-client/Translate-shell-external to work with lighttpd bjorn 2008-10-17 12:41:19 +00:00
  • 647164ed64 Fixed URL in gwt-client/Translate-shell-external to work with lighttpd bjorn 2008-10-17 12:41:19 +00:00
  • 0eaef4a5b5 Use JSON-P in gf-server-jsapi.js bjorn 2008-10-17 11:14:46 +00:00
  • d8568d4f66 Use JSON-P in gf-server-jsapi.js bjorn 2008-10-17 11:14:46 +00:00
  • 3df821efd7 Added JSON-P support to fastcgi server. bjorn 2008-10-17 10:49:34 +00:00
  • 9b920a0b73 Added JSON-P support to fastcgi server. bjorn 2008-10-17 10:49:34 +00:00
  • 1a098d3d7a Delete gf.fcgi in src/server/Makefile. bjorn 2008-10-17 10:05:29 +00:00
  • c59103a27f Delete gf.fcgi in src/server/Makefile. bjorn 2008-10-17 10:05:29 +00:00
  • 44eeb7a0f7 A bunch of changes that make it easy to run the gf server with lighttpd bjorn 2008-10-16 13:39:09 +00:00
  • 3ee2a7b072 A bunch of changes that make it easy to run the gf server with lighttpd bjorn 2008-10-16 13:39:09 +00:00
  • f211fc10ca Multithreaded gf.fcgi. bjorn 2008-10-16 13:00:44 +00:00
  • e94cfd8567 Multithreaded gf.fcgi. bjorn 2008-10-16 13:00:44 +00:00
  • 11ba8a6a17 server/makefile added test.pgf target. bjorn 2008-10-16 13:00:16 +00:00
  • bc87219f8e server/makefile added test.pgf target. bjorn 2008-10-16 13:00:16 +00:00
  • 95278a947f Export list in GF.Compile.GetGrammar bjorn 2008-10-16 12:59:40 +00:00
  • d67d44993b Export list in GF.Compile.GetGrammar bjorn 2008-10-16 12:59:40 +00:00
  • bb25c86ae5 Copy command-line flags to in-memory module when reading from a .gfo file. This maeans that command-line flags get put in the .pgf file. bjorn 2008-10-16 11:58:18 +00:00
  • b9a9fb2f40 Copy command-line flags to in-memory module when reading from a .gfo file. This maeans that command-line flags get put in the .pgf file. bjorn 2008-10-16 11:58:18 +00:00
  • ff36a38a48 Fixed German feather_N, it was just copy-paste from English. bjorn 2008-10-16 11:40:01 +00:00
  • 176dc3e730 In shell "p" command, only try languages that have a parser. bjorn 2008-10-16 11:33:09 +00:00
  • 67fabb0e0d In shell "p" command, only try languages that have a parser. bjorn 2008-10-16 11:33:09 +00:00
  • b0351dc653 build pgf files in src/server with erasing parsing bjorn 2008-10-16 11:27:12 +00:00
  • 1f724b36bb build pgf files in src/server with erasing parsing bjorn 2008-10-16 11:27:12 +00:00
  • f0f4948f5b Allow giving .gfo files as gfc command-line arguments. bjorn 2008-10-16 10:33:23 +00:00
  • fb3fdcab3d Allow giving .gfo files as gfc command-line arguments. bjorn 2008-10-16 10:33:23 +00:00
  • d10c8bd20a Removed on-demand parser generation from the PGF interpreter. bjorn 2008-10-16 10:18:54 +00:00
  • d698a006cc Removed on-demand parser generation from the PGF interpreter. bjorn 2008-10-16 10:18:54 +00:00
  • dc3f283344 Moved parser building in the PGF interpreter to PGF.hs from PGF/Raw/Convert.hs, in preparation for doing something more clever about it (e.g. looking at the parser flag). bjorn 2008-10-16 10:13:25 +00:00
  • 8d832b5b9a Moved parser building in the PGF interpreter to PGF.hs from PGF/Raw/Convert.hs, in preparation for doing something more clever about it (e.g. looking at the parser flag). bjorn 2008-10-16 10:13:25 +00:00
  • 8726886298 A bit more verbosity when combining PGF files. Use putPointE when writing output files. bjorn 2008-10-16 10:12:57 +00:00
  • e75ccc2542 A bit more verbosity when combining PGF files. Use putPointE when writing output files. bjorn 2008-10-16 10:12:57 +00:00
  • d1633b98d0 Honor --erasing flag from command-line also when compiling existing .gfo to PGF. bjorn 2008-10-16 08:27:43 +00:00
  • 21e3858442 Honor --erasing flag from command-line also when compiling existing .gfo to PGF. bjorn 2008-10-16 08:27:43 +00:00
  • 5422eb54d9 code tweak: use Map.findWithDefault in PGF.Macros.lookMap bjorn 2008-10-16 08:22:04 +00:00
  • 23a139ec07 code tweak: use Map.findWithDefault in PGF.Macros.lookMap bjorn 2008-10-16 08:22:04 +00:00
  • 856c31a64b restored the possibility to compile .cf files to gf aarne 2008-10-15 15:08:38 +00:00
  • 65bafe2a3b restored the possibility to compile .cf files to gf aarne 2008-10-15 15:08:38 +00:00
  • adc6566cd3 high-order syntax in PMCFG krasimir 2008-10-15 14:58:00 +00:00
  • bb6623f6e7 high-order syntax in PMCFG krasimir 2008-10-15 14:58:00 +00:00
  • be75baa4bf rename some variable names krasimir 2008-10-15 09:43:15 +00:00
  • 7676ab8e00 Copy command-line options to module flags when compiling to .gfo. bjorn 2008-10-15 14:24:23 +00:00
  • 849642e9dd Merge ModuleOptions and Options. bjorn 2008-10-15 11:55:18 +00:00
  • 1ecb4f63e9 Added OPTIONS class to make options handling somewhat nicer. Next, I will merge Flags and ModuleFlags. bjorn 2008-10-15 11:38:34 +00:00
  • 063b82cf6c rename some variable names krasimir 2008-10-15 09:43:15 +00:00
  • f898c7543d Copy command-line options to module flags when compiling to .gfo. bjorn 2008-10-15 14:24:23 +00:00
  • 58381a95a4 Merge ModuleOptions and Options. bjorn 2008-10-15 11:55:18 +00:00
  • 50ed99e9b1 Added OPTIONS class to make options handling somewhat nicer. Next, I will merge Flags and ModuleFlags. bjorn 2008-10-15 11:38:34 +00:00
  • 60ba93cfbb for_Prep is 'para' in Spa. jordi.saludes 2008-10-11 21:50:28 +00:00
  • f438fbb294 rename emptyFRulesEnv to emptyGrammarEnv krasimir 2008-10-15 09:26:01 +00:00
  • dc2d0f0df4 Added PGF.TypeCheck to .cabal. bjorn 2008-10-15 09:05:37 +00:00
  • e36d70d483 threat category _Var as a literal category krasimir 2008-10-15 08:38:34 +00:00
  • 4fa3eb87cd generate metavariables in the tree extraction for PMCFG krasimir 2008-10-15 08:02:12 +00:00
  • 5f33e0bda9 store the total number of PMCFG categories in the PGF file krasimir 2008-10-15 07:47:57 +00:00
  • 57ee52103d literal categories in the incremental parser krasimir 2008-10-14 15:29:50 +00:00
  • e4dc63f665 rudimentary abstract syntax type checker and solver in PGF aarne 2008-10-14 14:34:08 +00:00
  • ec2d7e2299 pass the full Tokn type to the add function not just the KS string krasimir 2008-10-14 13:29:45 +00:00
  • a2e3b1ce73 moved paraphrases to examples/test/, meant for small grammars used for testing various aspects aarne 2008-10-14 11:20:44 +00:00
  • a11f1b1437 paraphrase works a little better now ; added examples/paraphrase for testing aarne 2008-10-14 11:19:30 +00:00