summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-12-17minibar.html: omit explicit grammars_url optionhallgren
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-17minibar/support.js: fix comment typos and add linkshallgren
2010-12-17pgf-http now uses $datadir/www instead of ./www as the document roothallgren
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-17RunHTTP.hs: remove hardcoded document roothallgren
The document root is now part of the arguments passed to runHTTP.
2010-12-17Install minibar and some example grammars along with pgf-httphallgren
Together with the changes to pgf-http, this should make it much easier to run the PGF service and minibar locally.
2010-12-17bugfix: GeneratePMCFG should initialize the lexicon to emptykrasimir
2010-12-17bugfix: setProbabilities should be more robust when there are missing ↵krasimir
probabilities for some functions or categories
2010-12-14updated documentation of pg -printer formatsaarne
2010-12-14documented the pgf -printer values for helpaarne
2010-12-14option cc -list addedaarne
2010-12-14PGFToCFG should use the full production set because the lexicon is now split outkrasimir
2010-12-14now every parse state keeps reference only to the concrete and the abstract ↵krasimir
syntaxes but not to the whole PGF
2010-12-14work-around in Tree.expr2tree to make Paraphrase workaarne
2010-12-14type checking of oper types with let expressionsaarne
2010-12-14optimization in the parser for large lexicons. Now, the parser is slightly ↵krasimir
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-11fixed the failure to partial-evaluate pre in right-associative contextaarne
2010-10-19In the haskell code, we make the binary representation of the doubles ↵gdetrez
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-12-10preparing resource api for multilingual documentationaarne
2010-12-09minibar/support.js: add an errorcallback parameter to ajax_http_gethallgren
2010-12-08some more functions in GF.Data.TrieMapkrasimir
2010-12-08fixed typos in the documentation for PGF.Parsekrasimir
2010-12-06simple refactoring in PGF.Macros and relatedkrasimir
2010-12-07optimize-pgf and file flag in pg -pgfaarne
2010-12-07moved PGF.ToApi to GF.Compile.ToAPIaarne
2010-12-07shell command pg -pgf writes current pgf into a fileaarne
2010-12-07minibar.js: restore start_miniabr function for backward compatibilityhallgren
2010-12-06printing option -api in the eb commandaarne
2010-12-06no more IO in the syntax to API translatorra.monique
2010-12-06vt -api with conversion to resource API namesaarne
2010-12-05added syntax to api translation modulera.monique
2010-12-01minibar: rewrite minibar.js in a more idiomatic JS OOP stylehallgren
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-01Let minibar keep its own copy of tree-btn.pnghallgren
2010-12-01support.js: add function bind (JS OOP trick)hallgren
2010-11-30two examples of the .gfm formataarne
2010-11-30format .gfm for multiple modules in the same file; includes lines with ↵aarne
;-separated words
2010-11-28minibar/about.html: minor adjustmentshallgren
2010-11-26Add builtin preprocessors. Avoid creating tmp file. Fix multipreprocessor bug.hallgren
* The gf command line options -preproc=mkPresent and -preproc=mkMinimal now refer to internal preprocessors equivalent to lib/src/mkPresent and lib/src/mkMinimal. * The temporary file _gf_preproc.tmp is not created when running an internal preprocessor, unless there is an error, since errors messages refer to locations in the preprocessed file. (Possibly allowing the rgl build to be parallelized.) * After running an external preprocessor, the temporary file is deleted, unless there was an error. * (Bug fix) Before, when running more than one preprocessor, the same file name would be used for both input and output, e.g., mkPresent _gf_preproc.tmp > _gf_preproc.tmp which would result in an empty file being processed. Now, the input and output files will always be different.
2010-11-26Split pgf-server into pgf-fcgi and pgf-http.hallgren
The dependency on the fastcgi package made pgf-server difficult to compile, so it is now split into - pgf-fgci (main module in pgf-fcgi.hs), which is built only if fastcgi is already installed or if you turn on the fastcgi flag (e.g. by doing 'cabal install -f fastcgi'). - pgf-http (main module in pgf-http.hs) which is always built (and hopefully has no problematic dependencies.) The modules FastCGIUtils and PGFService no longer depend on fastcgi.
2010-11-25pgf-server: more useful JSON output from lineraizeAllhallgren
Example: Request: http://www.grammaticalframework.org:41296/grammars/Quiz.pgf?command=linearizeAll&tree=Run+YouPl Response: [{"to":"QuizEng","texts":["you run"]}, {"to":"QuizSwe","texts":["ni l??per","ni springer"]}] Compared to the old command linearize: Request: http://www.grammaticalframework.org:41296/grammars/Quiz.pgf?command=linearize&tree=Run+YouPl' Response: [{"to":"QuizEng","text":"you run"}, {"to":"QuizSwe","text":"ni l??per"}]
2010-11-25DiffUrd and Hin; updated Transliteration.hsaarne
2010-11-24linearizeAll in PGFServiceaarne
2010-11-22lang flag in align_words sets the list of languagesaarne
2010-11-24command ai in the shell now shows the probability of the treekrasimir
2010-11-23minibar/about.html: document recent developmenthallgren
2010-11-19tools/Multi, a script for generating multilingual lexicon grammars with the ↵aarne
minimum of effort
2010-11-17fixed some bugs in translation quizaarne
2010-11-17forgot to add ContentService.java in the GF Editorkrasimir
2010-11-15bugfix for the abstract operationskrasimir
2010-11-12operations in the abstract syntaxkrasimir
2010-11-09Some pgf-server API documentationhallgren