Commit Graph

4075 Commits

Author SHA1 Message Date
aarne 5536c31585 removed message showing what modules are read unless in verbose mode 2011-02-26 10:25:09 +00:00
aarne dd937731f6 Predef.error surfaces as error message in compilation and cc command 2011-02-25 17:01:10 +00:00
aarne ffc78017b2 command ga moved to option 'aw -giza' 2011-02-25 12:55:36 +00:00
hallgren b2917c5652 gfse: allow definitions to be reordered by drad-and-drop 2011-02-22 16:04:49 +00:00
hallgren 6173291ec1 gfse: fix typos 2011-02-18 14:51:06 +00:00
hallgren e2096fef35 gfse: document that grammars can be uploaded and tested in the GF shell, the minibar and the translation quiz 2011-02-18 14:47:20 +00:00
hallgren f0a80d0ea6 gfse: updated screen shots 2011-02-18 14:46:18 +00:00
hallgren 1ee4844fca gfse: support for linking to the translation quiz 2011-02-18 11:44:05 +00:00
hallgren 69e7262286 gfse: some small fixes
+ 'make install' to copy all required files to the server
+ configuration options and error checks in upload.cgi
2011-02-17 17:35:22 +00:00
hallgren 1715f683dc Adding the prototype GF editor for simple multilingual grammars 2011-02-17 14:43:41 +00:00
hallgren b7e13dafa1 Adding the prototype GF editor for simple multilingual grammars 2011-02-17 14:42:16 +00:00
hallgren 60980e40e4 Adding the prototype GF editor for simple multilingual grammars 2011-02-17 14:38:46 +00:00
aarne e4eccba450 a simple clitic analysis command 'ca' 2011-02-06 16:19:24 +00:00
aarne d661d45b1e corrections to ancientgreek encoding by Hans Leiss 2011-01-31 08:06:42 +00:00
aarne 37ace15733 started CompilerAPI, still dummy 2011-01-28 15:28:05 +00:00
hallgren bfc91294e1 minibar: a small change to make easy to select an alternate grammar directory 2011-01-27 22:23:15 +00:00
hallgren 2ebf3649cf minibar: update my home page link (cs->cse) 2011-01-11 13:18:19 +00:00
hallgren b8c1a09896 The name of the fastcgi executable has changed back to pgf-service 2011-01-09 15:32:17 +00:00
krasimir adbe9cd94d fix the computation of abstract expressions in the presence of implicit arguments 2011-01-08 20:55:58 +00:00
krasimir e41df3c873 bugfix in the handling of implicit arguments in the typechecker 2011-01-08 12:55:50 +00:00
krasimir cdebaef7ef The GF editor now lets the user to upload his/her own grammars 2010-12-28 16:26:10 +00:00
hallgren da4f5cf607 gf-server.cabal: changes to stop cabal from demanding hsql even when content-server is not going to be built 2010-12-23 17:02:13 +00:00
hallgren 0a52aaf81d PGF web service: make the generated index.html for pgf-http a bit more informative 2010-12-22 15:06:02 +00:00
hallgren 18338b0ee4 gf-server.cabal: update description of fastcgi flag 2010-12-22 15:05:10 +00:00
hallgren a5b661700b gf-server.cabal: make hsql-mysql optional like fastcgi
content-service depends on hsql-mysql, which depends on a C library, so like
fastcgi, only compile it if you ask for it explicitly with -ffastcgi.
2010-12-22 14:59:49 +00:00
hallgren 5dd58dfca6 gf-server.cabal: Change the default for the flag fastcgi to False
If you want the fastcgi server, use cabal install -ffastcgi.

This is to avoid problems when you only want to compile pgf-http and the
fastcgi library fails to install, which it usually does, since it depends on
a C library which is not installed automatically with cabal.
2010-12-22 14:49:17 +00:00
hallgren 681c5d25dd PGF web service: Use Content-Type text/javascript from JSON output
The Content-Type used to be text/json, but this caused warning messages in
some web browers.
2010-12-22 14:47:35 +00:00
krasimir 9b9dbfb1d6 added GrammarsPanel in the GF editor 2010-12-22 13:51:26 +00:00
krasimir 9ae3a7b30d tweak gf-server.cabal 2010-12-22 12:32:13 +00:00
krasimir 01d05b6736 more clear LICENSE file for GF 2010-12-21 10:57:54 +00:00
hallgren 0374f327d6 minibar.html: omit explicit grammars_url option
The grammars will then by default be fetched from the same server as
minibar.html. This means that everything will be served locally when accessing
minibar through a locally running pgf-http.
2010-12-17 16:43:11 +00:00
hallgren fb807d307c minibar/support.js: fix comment typos and add links 2010-12-17 16:42:08 +00:00
hallgren c9d9db121a pgf-http now uses $datadir/www instead of ./www as the document root
Along with the changes to Setup.hs it should now be enough to do

	cabal install
	pgf-http
	open http://localhost:41296/

to run the PGF service locally and play with some example grammars in minibar.
2010-12-17 16:35:59 +00:00
hallgren 31c09c8846 RunHTTP.hs: remove hardcoded document root
The document root is now part of the arguments passed to runHTTP.
2010-12-17 16:33:54 +00:00
hallgren 72148feeb9 Install minibar and some example grammars along with pgf-http
Together with the changes to pgf-http, this should make it much easier to run
the PGF service and minibar locally.
2010-12-17 16:29:22 +00:00
krasimir 2262c105ab bugfix: GeneratePMCFG should initialize the lexicon to empty 2010-12-17 09:11:04 +00:00
krasimir e52f8dda61 bugfix: setProbabilities should be more robust when there are missing probabilities for some functions or categories 2010-12-17 09:09:07 +00:00
aarne 2b399e5356 updated documentation of pg -printer formats 2010-12-14 22:05:53 +00:00
aarne fe82e6b50d documented the pgf -printer values for help 2010-12-14 20:40:17 +00:00
aarne 22e50ae31c option cc -list added 2010-12-14 17:42:42 +00:00
krasimir 1f1a0d7ada PGFToCFG should use the full production set because the lexicon is now split out 2010-12-14 21:25:43 +00:00
krasimir f62d6a7ed4 now every parse state keeps reference only to the concrete and the abstract syntaxes but not to the whole PGF 2010-12-14 17:20:53 +00:00
aarne 22a3eb2f0a work-around in Tree.expr2tree to make Paraphrase work 2010-12-14 14:36:05 +00:00
aarne 07d95b2b3f type checking of oper types with let expressions 2010-12-14 14:35:41 +00:00
krasimir 8a0b3b8ba8 optimization in the parser for large lexicons. Now, the parser is slightly slower for grammars with a small lexicon but 3-4 times faster for the English Resource Grammar used in combination with Oxford Advanced Learners Dictionary 2010-12-14 08:46:22 +00:00
aarne 54f04ecb5a fixed the failure to partial-evaluate pre in right-associative context 2010-12-11 16:27:35 +00:00
gdetrez 99c38bf070 In the haskell code, we make the binary representation of the doubles compliant with IEEE 754.
The default binary representation in haskell's Data.Binary package is
homemade and quite complicated. Making it compliant with IEEE 754 will
make it easyer for the java runtimes (and probably others) to load the
PGF.
2010-10-19 18:34:29 +00:00
aarne 7b9e55650b preparing resource api for multilingual documentation 2010-12-10 08:48:26 +00:00
hallgren 847561d2f6 minibar/support.js: add an errorcallback parameter to ajax_http_get 2010-12-09 16:38:16 +00:00
krasimir ba042f85d1 some more functions in GF.Data.TrieMap 2010-12-08 12:51:37 +00:00