Commit Graph

7110 Commits

Author SHA1 Message Date
krasimir
c4c1f6d076 print the search path when we can't find a module 2008-09-10 08:55:16 +00:00
bjorn
5210d1745c mod_fastcgi installation instructions in src/server/README 2008-09-10 08:44:18 +00:00
bjorn
6e6efb14f7 Note that Apache must be restarted after config changes. 2008-09-10 08:19:50 +00:00
bjorn
b9066feacc Fix type error in fastcgi server.
I forgot to fix this after I copied the modified FastCGIUtils from morpho-server.
2008-09-10 07:09:44 +00:00
aarne
e7106b6181 better error msg for missing record labels 2008-09-09 19:43:33 +00:00
aarne
1bd799d006 completed IdiomCat to compile api and math 2008-09-09 16:11:05 +00:00
aarne
8cde25475b missing case in param lookup table in GrammartoGFCC 2008-09-09 15:33:56 +00:00
aarne
bc6b91799a debug information in GrammarToGFCC 2008-09-09 14:04:37 +00:00
bjorn
e566530c4a More info in src/server/README. 2008-09-09 12:38:45 +00:00
bjorn
6eae3fcf68 Disable translation on every keystroke, and completion, in the gf FastCGI AJAX client, since it can be too slow. 2008-09-09 12:19:28 +00:00
aarne
033da07c39 show "error" in run interruptibly mode in GFI 2008-09-09 06:58:38 +00:00
aarne
63a706b109 enable matching of ++ strings with regular patterns 2008-09-09 06:36:36 +00:00
aarne
bdcfcda786 capitals in lextext and unlextext; notice that a sentence starting with a proper name now gets lexed with a small letter if lextext is used 2008-09-05 09:21:48 +00:00
aarne
b3803424ff convert all values in shell pipes to strings 2008-09-04 09:03:02 +00:00
bjorn
207ddc4cb6 Added --haskell-prefix option for changing the constructor prefix in generated Haskell modules. 2008-09-03 15:42:11 +00:00
peb
74826158cb new PGF output format: prolog syntax
* output a PGF grammar in prolog readable syntax
* variables in abstract syntax (hypotheses and lambda-abstractions) 
  are translated to unique logical variables
* PGF terms in concrete syntax are translated to more prolog-like terms
2008-09-03 09:04:09 +00:00
aarne
cf00c0c2a9 treatment of Int: not always PredefAbs but can be PredefCnc 2008-09-03 09:33:37 +00:00
bjorn
d1ebdf8154 gf-server: the readData function given to getData should be m a, not IO a. 2008-08-24 20:44:30 +00:00
bjorn
b3ab690ddd First (hacky) working version of FastCGI JSON morphology server. 2008-08-24 19:31:12 +00:00
bjorn
a8f0546574 Move CGIError stuff to FastCGIUtils. 2008-08-24 19:12:44 +00:00
bjorn
5c0487200f URL decode text input in fastcgi server, including %uXXXX sequences. 2008-08-24 17:39:24 +00:00
bjorn
23a6375ced Completed SISR 1.0 support (untested). 2008-08-24 14:53:21 +00:00
bjorn
a415c83319 Export modifyFlags and modifyModuleFlags from GF.Infra.Options. 2008-08-24 14:52:49 +00:00
bjorn
cc2442bec4 Re-enable Catalan in the server demo grammar. 2008-08-24 10:19:44 +00:00
aarne
ec9a04467d updated gf-bibliography 2008-08-23 16:34:42 +00:00
aarne
ed06f631e9 removed repeated CPU time printing in GFI 2008-08-23 15:35:39 +00:00
aarne
3d22963267 infForm added to Catalan ; debugging alternative in PGF generation 2008-08-23 14:26:34 +00:00
bjorn
90d41b4f4e Added target for building translation server grammar for LangX. 2008-08-23 10:33:16 +00:00
bjorn
8cf0d654ba Added README with build instructions for the fastcgi server. 2008-08-22 13:16:31 +00:00
bjorn
c345a087bb Don't include DemoCat in server example grammar, since some parts are missing. 2008-08-22 13:15:51 +00:00
bjorn
52af19bd64 UTF8 encode all generated XML. 2008-08-22 09:47:42 +00:00
bjorn
b6785df0d2 In GF.Compile.Export, output file name extensions should not have double dots. 2008-08-22 09:27:44 +00:00
bjorn
a76a118ec9 Renamed the gf3 executable to gf in GF.cabal 2008-08-22 08:45:40 +00:00
bjorn
cb98536de1 Added srgs_xml_nonrec output format. 2008-08-22 08:43:58 +00:00
bjorn
3e5414ba4a Removed Overload modules from GF.cabal. 2008-08-22 07:18:34 +00:00
aarne
02a80d68aa peace grammars patched to work with the new API 2008-08-20 07:14:20 +00:00
aarne
74373394a6 alternative prtType to help debugging overload resolution errors 2008-08-20 06:44:58 +00:00
bjorn
7d83d90e51 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
9242bdfcc8 tweak ajax client html 2008-08-19 12:40:17 +00:00
bjorn
e1584715cc First version of ajax / fastcgi interface with completion. 2008-08-19 12:29:31 +00:00
bjorn
bd977e7587 Remove src/server/grammar.pgf from the repo, use 'make food' if you want it. 2008-08-19 08:14:22 +00:00
bjorn
d33fe739a7 Added parse and linearize functions to the fastcgi server. Some refactoring. 2008-08-19 08:13:51 +00:00
bjorn
bc3281d5e7 Fix order in the cncnames list in unionPGF. It was made in reverse. 2008-08-19 07:40:45 +00:00
bjorn
55603b78f6 Ajax: use onsubmit instead of onclick, to catch Firefox auto-submit-on-enter. 2008-08-18 20:56:30 +00:00
bjorn
c102ab157a Ajax translator: copied iPhone viewport stuff from Aarne's JS translator, untested. 2008-08-18 20:28:22 +00:00
bjorn
972d7e4058 AJAX translator: update translation when the from or to language is changed. 2008-08-18 20:26:52 +00:00
bjorn
401d1cd7d1 Some peacekeeping clean-up, still far from compiling. 2008-08-18 20:22:25 +00:00
bjorn
256ab54807 Include all languages in the demo pgf for the fastcgi server. 2008-08-18 20:21:02 +00:00
bjorn
c6c9028022 Sort languages in fastcgi /languages output. 2008-08-18 20:20:32 +00:00
bjorn
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.
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