1
0
forked from GitHub/gf-core
Commit Graph

2362 Commits

Author SHA1 Message Date
aarne
f875fe563a corrections to ancientgreek encoding by Hans Leiss 2011-01-31 08:06:42 +00:00
aarne
b35c29554d started CompilerAPI, still dummy 2011-01-28 15:28:05 +00:00
hallgren
eb21e14991 minibar: a small change to make easy to select an alternate grammar directory 2011-01-27 22:23:15 +00:00
hallgren
11d6326fae minibar: update my home page link (cs->cse) 2011-01-11 13:18:19 +00:00
hallgren
5d8d1999d8 The name of the fastcgi executable has changed back to pgf-service 2011-01-09 15:32:17 +00:00
krasimir
5941995c59 fix the computation of abstract expressions in the presence of implicit arguments 2011-01-08 20:55:58 +00:00
krasimir
d465292fde bugfix in the handling of implicit arguments in the typechecker 2011-01-08 12:55:50 +00:00
krasimir
c8b6192128 The GF editor now lets the user to upload his/her own grammars 2010-12-28 16:26:10 +00:00
hallgren
730bfd6c11 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
59b36e0e4a PGF web service: make the generated index.html for pgf-http a bit more informative 2010-12-22 15:06:02 +00:00
hallgren
6eb3d8ae9c gf-server.cabal: update description of fastcgi flag 2010-12-22 15:05:10 +00:00
hallgren
ee018154c8 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
5b68ac537f 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
505d99ec37 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
fb722fe8e2 added GrammarsPanel in the GF editor 2010-12-22 13:51:26 +00:00
krasimir
d28242c03e tweak gf-server.cabal 2010-12-22 12:32:13 +00:00
krasimir
0aab9833f7 more clear LICENSE file for GF 2010-12-21 10:57:54 +00:00
hallgren
65b717c362 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
9ad094577a minibar/support.js: fix comment typos and add links 2010-12-17 16:42:08 +00:00
hallgren
2e6269ddb4 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
7ebdacc884 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
c51d1f9833 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
71e0ec4d41 bugfix: GeneratePMCFG should initialize the lexicon to empty 2010-12-17 09:11:04 +00:00
krasimir
e4b2b8541f 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
61e4e9ac20 updated documentation of pg -printer formats 2010-12-14 22:05:53 +00:00
aarne
9c86b62212 documented the pgf -printer values for help 2010-12-14 20:40:17 +00:00
aarne
4a5d8d9f55 option cc -list added 2010-12-14 17:42:42 +00:00
krasimir
505e34aea7 PGFToCFG should use the full production set because the lexicon is now split out 2010-12-14 21:25:43 +00:00
krasimir
c571e6ef33 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
e7fbe756a3 work-around in Tree.expr2tree to make Paraphrase work 2010-12-14 14:36:05 +00:00
aarne
a8a3c62f60 type checking of oper types with let expressions 2010-12-14 14:35:41 +00:00
krasimir
7d58efb660 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
9b5223a06b fixed the failure to partial-evaluate pre in right-associative context 2010-12-11 16:27:35 +00:00
gdetrez
1ed5b52a03 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
96433c2914 preparing resource api for multilingual documentation 2010-12-10 08:48:26 +00:00
hallgren
8bb09fd64a minibar/support.js: add an errorcallback parameter to ajax_http_get 2010-12-09 16:38:16 +00:00
krasimir
73a10e1a66 some more functions in GF.Data.TrieMap 2010-12-08 12:51:37 +00:00
krasimir
0f4927dd40 fixed typos in the documentation for PGF.Parse 2010-12-08 10:32:18 +00:00
krasimir
b6446ec36d simple refactoring in PGF.Macros and related 2010-12-06 14:19:51 +00:00
aarne
0f444d8893 optimize-pgf and file flag in pg -pgf 2010-12-07 19:28:40 +00:00
aarne
dd6e0b1730 moved PGF.ToApi to GF.Compile.ToAPI 2010-12-07 18:05:13 +00:00
aarne
978e2e4241 shell command pg -pgf writes current pgf into a file 2010-12-07 16:05:37 +00:00
hallgren
b39d69eeae minibar.js: restore start_miniabr function for backward compatibility 2010-12-07 13:00:36 +00:00
aarne
1f75143d6c printing option -api in the eb command 2010-12-06 10:49:38 +00:00
ra.monique
7fba8c338d no more IO in the syntax to API translator 2010-12-06 10:15:14 +00:00
aarne
00111b10c1 vt -api with conversion to resource API names 2010-12-06 09:53:04 +00:00
ra.monique
6268c2d7d9 added syntax to api translation module 2010-12-05 19:51:19 +00:00
hallgren
18e3687832 minibar: rewrite minibar.js in a more idiomatic JS OOP style
This provides easier access to minibar internals for people who want to extend
it, but probably also reveals too much of the internal machinery...
2010-12-01 16:37:14 +00:00
hallgren
b0027c3305 Let minibar keep its own copy of tree-btn.png 2010-12-01 16:28:27 +00:00
hallgren
a2b9a684c0 support.js: add function bind (JS OOP trick) 2010-12-01 16:20:28 +00:00