summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-08-29Emacs only recognizes utf-8, not UTF-8, in file headerspeter.ljunglof
2012-08-29A basic infrastructure for generating Teyjus bytecode from the GF abstract ↵kr.angelov
syntax
2012-08-27minibar documentation URL typo fixhallgren
2012-08-27minibar documentation updateshallgren
2012-08-03fix some warnings in teyjuskr.angelov
2012-08-02translator: keep cloud docs and local docs aparthallgren
+ show a cloud icon next to the document name if it is stored in the cloud + in addition to the name of the current document, remember if it is stored in the cloud, so that the right document is loaded next time you open the translator.
2012-08-02gfse: matching colors in cloud download/upload iconshallgren
2012-08-01GFServer.hs: binary files can now be uploaded to the cloudhallgren
Karel wants to upload PGF files.
2012-08-01gf-cloud-api.html: markup fixhallgren
2012-08-01the first draft of GF.Compile.Instructionskr.angelov
2012-07-31An initial import of the teyjus source code in the C runtime for GF. The two ↵kr.angelov
runtime are still not connected but the source code compiles.
2012-07-27translator: code cleanup and bug fixes hallgren
2012-07-25translator: remove debug logginghallgren
2012-07-25translator: per segment translation method selectionhallgren
2012-07-02Minor changes in Python exportpeter.ljunglof
2012-06-28Fixed minor bug in prolog exportpeter.ljunglof
2012-06-27major changes to the prolog exportpeter.ljunglof
2012-06-27cleanup in the python exportpeter.ljunglof
2012-06-26Experiment with parallel grammar checkshallgren
Introduced the function parallelCheck :: [Check a] -> Check [a] that runs independent checks in parallel, potentially allowing faster grammar compilation on multi-core computers, if you run gf with +RTS -N. However, on my dual core laptop, this seems to slow down compilation somewhat even though CPU utilization goes up as high as 170% at times. (This is with GF compiled with GHC 7.0.4.)
2012-06-26GF.Infra.CheckM: comment out unused Context argumenthallgren
2012-06-26Report many type errors instead of stopping after the first onehallgren
In GF.Compile.CheckGrammar, use a new topological sorting function that groups independent judgements, allowing them all to be checked before continuing or reporting errors.
2012-06-25Fix for warning messages from checkMapRecoverhallgren
Reimplemented it with the new function accumulateError. Also keeping the formatting of errors and warnings unchanged for now, to avoid potentially causing problems in the GF Eclipse Plugin.
2012-06-25removed spurious empty warningsaarne
2012-06-25GF.Compile.Rename: report many errors instead of stopping after the first onehallgren
Using accumulated errors in the Check monad. TODO: some errors are still not accumulated, but thanks to checkMapRecover at least one error per judgement is reported.
2012-06-25Check monad: support for accumulated errorshallgren
In addition to warnings, the Check monad in GF.Infra.CheckM can now accumulate errors. There are two new functions checkAccumError: Message -> Check () accumulateError :: (a -> Check a) -> a -> Check a The former (with the same type as checkWarn) is used to report an accumulated (nonfatal) error. The latter converts fatal errors into accumulated errors. Accumulated errors are reported as regular errors by runCheck. Also, the Check monad type has been made abstract.
2012-06-25Export PGF in Python formatpeter.ljunglof
2012-06-25warnings shown in checkMapRecoveraarne
2012-06-25checkMapRecover: find undefined idents in all jments in Renameaarne
2012-06-25printing ResValue judgements as comments, to provide useful information when ↵aarne
a conflict is found between parameter constructors
2012-06-21translator: parallel text view layout adjustmentshallgren
And some other small code changes.
2012-06-21translator: bug fix for copy/paste importhallgren
2012-06-21gfse/sort.js: make it more resusablehallgren
Move the gfse-specific list of sortable tags and class names from sort.js to editor.js.
2012-06-21translator: insert and delete segmentshallgren
You can now insert new segments anywhere, now just at the end. You can now delete any segment, not just the last one.
2012-06-19translator: style adjustmentshallgren
2012-06-19translator: expanatory text for local file import hallgren
2012-06-19translator: import text from local fileshallgren
It works in Chrome, Firefox and Opera, but not Safari. (The browser must support the File, FileList and FileReader APIs.)
2012-06-18GF cloud api doc fixeshallgren
2012-06-18cloud service: add preliminary cloud service API documentationhallgren
2012-06-18transaltor: reduce code duplicationhallgren
2012-06-15Add file name to error message when reading a bad .gfo file (in some cases)hallgren
This turns error messages like gf: too few bytes. Failed reading at byte position 1 gf: /some/path/somefile.gfo: too few bytes. Failed reading at byte position 1 but a better fix would be to ignore bad .gfo files and compile from source. The problem is the way this decision is made in GF.Compile.ReadFiles.selectFormat...
2012-06-13translator: added support for the Apertium translation servicehallgren
Also added feedback to source & target language menus to indicate which languages are supported by the selected translation method. For Apertium, the source language menu shows all possible source languages, and the target menu shows the possible target languages for the chosen source language.
2012-06-13Use a separated tag for meta productions in the robust parser. This cleans ↵kr.angelov
up the code a lot
2012-06-12translator: documents can now be saved in the cloudhallgren
some other small fixes
2012-06-12gfse & translator: change language code for Japanese to Jpnhallgren
2012-06-12now there is a limit of 2000000 items in the chart of the robust parser. ↵kr.angelov
This prevents from explosion in the memory size but it will also prevent us from parsing some sentences.
2012-06-12now the robust parser is purely top-down and the meta rules compete on a ↵kr.angelov
fair basis with the grammar rules
2012-06-11minibar-api.html: small documentation improvementshallgren
2012-06-11GF home page: link to GF clouds service (cloud.grammaticalframework.org)hallgren
Also some small cloud service documentation updates.
2012-06-11translator: source segments can now be editedhallgren
2012-06-10command option ma -known to drop unknown wordsaarne