summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-07-28Setup.hs: comment out debugging codehallgren
2014-07-28Setup.hs: reduce zero build time by ~30% (from 26 to 18 seconds on my laptop)hallgren
This speedup is obtained by instead of generating 211 shell commands to compile the RGL one file at a time, generate 7 shell commands, passing a number of related files to GF in one go. In addition to cutting down the zero build time, this opens up for speeding up full builds of the RGL, by adding more parallelism in GF's grammar compilation machinery. (Note: gf.cabal already takes advantage of GHC's parallel build option to speed up the compilation of GF itself, if GHC>=7.8 is used.)
2014-07-28Convert from Text.PrettyPrint to GF.Text.Prettyhallgren
All compiler modules now use GF.Text.Pretty instead of Text.PrettyPrint
2014-07-27Adding GF.Infra.Location and GF.Text.Pretty (forgot to 'darcs add' them before)hallgren
2014-07-27Introducing GF.Text.Pretty for more concise pretty printers and ↵hallgren
GF.Infra.Location for modularity GF.Text.Pretty provides the class Pretty and overloaded versions of the pretty printing combinators in Text.PrettyPrint, allowing pretty printable values to be used directly instead of first having to convert them to Doc with functions like text, int, char and ppIdent. Some modules have been converted to use GF.Text.Pretty, but not all. Precedences could be added to simplify the pretty printers for terms and patterns. GF.Infra.Location contains the types Location and L, factored out from GF.Grammar.Grammar, and the class HasSourcePath. This allowed the import of GF.Grammar.Grammar to be removed from GF.Infra.CheckM, making it more like a pure library module.
2014-07-25gf.cabal: fix depend in --flags=-custom-binary caseSergei Trofimovich
Detected when building today: Building gf-3.6... Preprocessing library gf-3.6... src/runtime/haskell/PGF/Internal.hs:17:8: Could not find module ‘Data.Binary.IEEE754’ It is a member of the hidden package ‘data-binary-ieee754-0.4.4’. Perhaps you need to add ‘data-binary-ieee754’ to the build-depends in your .cabal file.
2014-07-21PGF service: expire PGFs from the cache when they have been unused for 24 hourshallgren
...to keep memory use down on the server.
2014-07-21WebSetup.hs: include Chinese when building the Phrasebookhallgren
2014-07-16Qiao's corrections in PhrasebookChi. This replaces the old, partial and ↵aarne
low-quality version and is hence the first Chinese phrasebook version that can claim high quality.
2014-07-15src/server/gf-server.cabal: update dependencieshallgren
2014-07-15modified some explanations in app.htmlaarne
2014-07-15PGF Web Service: include entire completion in full modejohn.j.camilleri
When using full=yes in the web service 'complete' command, you now get an additional field 'seq' with the longest possible completion. So, given: lin f1 = ss "the" ; f2 = ss ("the red house" | "the real deal") ; and trying to complete on input "th", you get: [ { "from": "TestCnc", "brackets": { "cat": "_", "fid": 0, "index": 0, "fun": "_", "children": [] }, "text": "th", "completions": [ { "token": "the", "funs": [ { "fun": "f1", "hyps": [], "cat": "C", "seq": "the" }, { "fun": "f2", "hyps": [], "cat": "C", "seq": "the red house" }, { "fun": "f2", "hyps": [], "cat": "C", "seq": "the real deal" } ] } ] } ]
2014-07-11PGF web service: Return additional completion info with 'full' flagjohn
BETA! The 'complete' command now has a new flag 'full' which when set returns additional info about completions. Without 'full' flag (default): [ { "from": "PhrasebookEng", "brackets": { "cat": "_", "fid": 0, "index": 0, "fun": "_", "children": [ { "token": "the" } ] }, "text": "su", "completions": [ "supermarket", "suspect" ] } ] With full=true or full=yes: [ { "from": "PhrasebookEng", "brackets": { "cat": "_", "fid": 0, "index": 0, "fun": "_", "children": [ { "token": "the" } ] }, "text": "su", "completions": [ { "token": "supermarket", "funs": [ { "fid": 421, "fun": "Supermarket", "hyps": [], "cat": "PlaceKind" } ] }, { "token": "suspect", "funs": [ { "fid": 445, "fun": "Suspect", "hyps": [], "cat": "Property" } ] } ] } ]
2014-07-08implemented computing with abstract syntax trees. It passes all test cases ↵kr.angelov
except those that require def rules. The design is consistent with the STG virtual machine
2014-07-08bugfix for the typechecker in the C runtimekr.angelov
2014-07-06an API for visitor patterns on abstract syntax trees from Python. This makes ↵kr.angelov
the embedded grammars especially pleasing
2014-07-06small fix for the embedded mode in Pythonkr.angelov
2014-07-06embedded mode for GF grammar in Python. Only generation for nowkr.angelov
2014-07-05making hard-wired questiong in PhrasebookChi type correct after addition of ↵aarne
indirect questions
2014-07-03filter out the leading +/* from the parser treekr.angelov
2014-07-03bugfix in the ParseTreeViewkr.angelov
2014-07-03scroll bars for the ParseTreeViewkr.angelov
2014-07-02Visualization for parse trees on Androidkr.angelov
2014-07-02added bracketedLinearize in the Java bindingkr.angelov
2014-07-02fixed rare memory leak in the Java bindingskr.angelov
2014-07-01a few changes in the Nerc that I have forgoten to pushkr.angelov
2014-07-01fix warnings in the compilation of the Java bindingkr.angelov
2014-06-30link to play store from app.htmlaarne
2014-06-24minibar: include the grammar's last modification in the grammar info shown ↵hallgren
by the "i" button Also bumped version number in gf.cabal to 3.6-darcs. Also removed some unecessary use of CPP.
2014-06-23Adjust the release date on the home pagehallgren
2014-06-23Final updates of the download page for the 3.6 releasehallgren
+ Describe which features are included in the different binary packages. + Describe the new MINGW package.
2014-06-21Update web pages and bump version number to 3.6!hallgren
2014-06-23doc/gf-developers.t2t: made the C run-time section a bit more informativehallgren
2014-06-21release-3.6.t2t: just a couple of more fixes.hallgren
Sorry.
2014-06-21release-3.6.t2t: fix broken linkhallgren
2014-06-21release-3.6.t2t: fix a formatting problemhallgren
2014-06-21debian/changelog: updated for the release of GF 3.6hallgren
2014-06-21build-binary-dist.sh: include a ghc package configuration filehallgren
as an experiment
2014-06-21Polished and renamed release notes to release-3.6.t2thallgren
Also added an example use of lookupmorpho to gf-web-api-examples.html.
2014-06-21The --output-dir option now applies also to PGF fileshallgren
2014-06-20Cloud service & apps: better error handling in wide coverage translationhallgren
The wide coverage demo apps now shows a "please wait" message while the grammar is loading, and a red error message if the grammar is not found on the server. The Simple Translation Tool also show red error messages if the grammar is not found.
2014-06-20PGF Service: return error code 404 (not found) instead of 500 (internal ↵hallgren
server error) for missing grammars
2014-06-20PGF Service, command=grammar: include the last modified time of the grammar ↵hallgren
in the output
2014-06-20added a note that the green translation comes from the phrasebookaarne
2014-06-20some probabilities in app.probs to recognize languages and pronounsaarne
2014-06-19restored some functions in PhrasebookDut to make it complete againaarne
2014-06-19style0 in app.html to preserve colours in table cellsaarne
2014-06-19css/style0.css: like css/style.css but without changing the default table stylehallgren
2014-06-19language status in app help file as table ; less textaarne
2014-06-19language status information in demo app and translation documentsaarne