1
0
forked from GitHub/gf-core
Commit Graph

2606 Commits

Author SHA1 Message Date
bjorn
8872b0b010 Added PGF.parse method to GWT client. 2008-10-22 19:59:43 +00:00
bjorn
7c914d39cb Some refactoring of the GWT translator. 2008-10-22 19:37:57 +00:00
krasimir
9ba3b739df fix the word completion in the shell 2008-10-22 11:27:01 +00:00
krasimir
bb007215ab fix a typo. It is option "-cat" not "-type" 2008-10-22 09:36:50 +00:00
bjorn
7a2ef0bb09 Make GWT compilation easier. 2008-10-22 13:29:57 +00:00
bjorn
245e1b3300 Remove compiled GWT stuff. 2008-10-22 13:28:33 +00:00
bjorn
ecf391ee87 gf-server: preliminary Ubuntu instructions 2008-10-22 12:36:13 +00:00
bjorn
4685919ac3 Recompiled GWT code. I should drop the compiled code from the repo soon, this is getting tedious. 2008-10-22 12:07:04 +00:00
bjorn
5dbace4cc2 Rename the GWT Translate module to PGF. Rename the GF class to PGF. 2008-10-22 12:05:59 +00:00
bjorn
2aa899a5ff Change GWT compilation scripts to make it easier to change the GWT dir location. 2008-10-22 11:19:12 +00:00
bjorn
dea941eea9 New compiled GWT stuff. 2008-10-22 09:37:06 +00:00
bjorn
acdcd57fa6 Reorganize GWT stuff into a reusable module and one application module. 2008-10-22 09:36:05 +00:00
krasimir
0606de738e efficient and nicer implementation for literal categories 2008-10-21 14:30:36 +00:00
bjorn
6633ae71f1 gf-server: move some general stuff to FastCGIUtils 2008-10-20 15:17:57 +00:00
krasimir
41fb72ca6f the literal categories were slowing down the parser 3 times. this is quick and dirty workaround until I find something cleverer. 2008-10-20 15:38:59 +00:00
bjorn
d327d9da6c Added --parser=ondemand flag. 2008-10-20 14:52:50 +00:00
bjorn
6b8c9dd4c9 Added PGF.Macros.mapConcretes 2008-10-20 14:51:42 +00:00
bjorn
05343e78a9 Added on-demand parser generation back in. It's pretty unproblematic, and can help with memory use in some cases. 2008-10-20 14:05:39 +00:00
bjorn
5cbc5aeb9d Added new generated GWT output. 2008-10-20 13:30:01 +00:00
bjorn
66397a454d Removed the flag icons from the GWT client. 2008-10-20 13:23:40 +00:00
bjorn
9b8f50534c Update gf-server instructions and configuration. 2008-10-20 12:56:08 +00:00
bjorn
cec2b61af0 Drop -beta2 from version in GF.cabal. It confuses cabal-install. 2008-10-20 12:49:18 +00:00
krasimir
399d1bb09a fixed typo in the Haddock documentation 2008-10-20 12:24:07 +00:00
bjorn
88eed35c18 Reorganize PGF export list to get easier to read haddock. 2008-10-20 12:10:42 +00:00
bjorn
617c707a77 Update gf-server to compile with changed PGF API. 2008-10-20 12:07:05 +00:00
bjorn
d41616dd6a Added Read and Show instances for CId. Also added readCId :: String -> Maybe CId, and use that for readLanguage. 2008-10-20 11:59:31 +00:00
bjorn
2174690c5e Added Read and Show instances for Type. This required moving some code around. 2008-10-20 11:36:17 +00:00
bjorn
a26290659d Replace Category with Type in the PGF API. Added readLanguage and showLanguage. 2008-10-20 11:35:05 +00:00
krasimir
3d92897a94 more test/srg to examples/test/srg 2008-10-20 11:11:59 +00:00
krasimir
6f7d0ab08d added parser test suite 2008-10-20 09:40:09 +00:00
bjorn
072f19212f Added 'run' target to gf-server Makefile. It compiles the server, and starts lighttpd. 2008-10-20 08:46:32 +00:00
bjorn
e6d7e5e97f Added compiled GWT code to repo. 2008-10-20 08:45:42 +00:00
bjorn
a11ccb9cd8 gf-server: New URL format: /grammar.pgf/command 2008-10-20 08:45:00 +00:00
bjorn
ee08605aee lighttpd.conf tweak 2008-10-20 08:43:23 +00:00
bjorn
d205011470 fastcgi: better grammar cache implementation: don't deadlock on exceptions 2008-10-20 08:24:01 +00:00
bjorn
0205f341f5 (fastcgi) replace DataRef with a more general Cache type, which can hold several PGF grammars. 2008-10-17 14:12:53 +00:00
krasimir
eb0fefec28 preparation for dep. types. The -cat option can take any type instead of just a category. The PGF API is generalized as well. 2008-10-20 08:42:39 +00:00
krasimir
96bea5a0bb export wildCId from PGF.hs 2008-10-20 07:56:32 +00:00
krasimir
abe8da32fd add parser and pretty printer for types 2008-10-20 07:52:14 +00:00
krasimir
418856d9bf move the literal category names to PGF.Macros 2008-10-19 14:21:58 +00:00
krasimir
9837fb8fb1 move PGF.Quiz to GF.Quiz. It is not part of the PGF API 2008-10-19 16:38:56 +00:00
bjorn
a6c4747b11 lighttpd.conf: use default server.event-handler = "select" 2008-10-17 12:57:52 +00:00
bjorn
48a031db98 gf-server-jsapi: clean up old callbacks 2008-10-17 12:57:34 +00:00
bjorn
feb3e84fb5 Don't include parsers for Ger, Dan, Nor in server/demo.pgf and server/lang.pgf 2008-10-17 12:41:48 +00:00
bjorn
411326de31 Fixed URL in gwt-client/Translate-shell-external to work with lighttpd 2008-10-17 12:41:19 +00:00
bjorn
0eaef4a5b5 Use JSON-P in gf-server-jsapi.js 2008-10-17 11:14:46 +00:00
bjorn
3df821efd7 Added JSON-P support to fastcgi server. 2008-10-17 10:49:34 +00:00
bjorn
1a098d3d7a Delete gf.fcgi in src/server/Makefile. 2008-10-17 10:05:29 +00:00
bjorn
44eeb7a0f7 A bunch of changes that make it easy to run the gf server with lighttpd 2008-10-16 13:39:09 +00:00
bjorn
f211fc10ca Multithreaded gf.fcgi. 2008-10-16 13:00:44 +00:00