summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-01-17haskell-bind: add a cabal file and examples/pgf-shell.hshallgren
* The haskell-bind.cabal file makes it easy to build the haskell binding and use it in ghci. * pgf-shell.hs is a simple example of how to use the haskell binding.
2014-01-17haskell-bind: change the type of CRuntimeFFI.getConcrhallgren
Change the type of getConcr from getConcr :: PGF -> Language -> Concr to getConcr :: PGF -> Language -> Maybe Concr This is to prevent programs from crashing later if you try to select a concrete syntax that is not present in a grammar.
2014-01-13examples/Phasebook/Makefile2: Lativan is fixed, include it againhallgren
2014-01-11Phrasebook: Latvian is fixed (according to the latest RG)normundsg
2014-01-10removed the generated html filesaarne
2014-01-10started demo pages for translation and resource grammarsaarne
2014-01-10examples/Phasebook/Makefile2: Lativan is broken, omit it for nowhallgren
Also rewrote Makefile2 in a more compact way.
2014-01-09Check file datestamp before creating PGF file when compiling grammarshallgren
When running a command like gf -make L_1.gf ... L_n.gf gf now avoids recreating the target PGF file if it already exists and is up-to-date. gf still reads all required .gfo files, so significant additional speed improvements are still possible. This could be done by reading .gfo files more lazily...
2014-01-09Check file datestamps before unioning PGF files (fix)hallgren
Also check that no additional output formats have been selected.
2014-01-09Check file datestamps before unioning PGF fileshallgren
When running a command like gf -make -name=T L_1.pgf ... L_n.pgf gf now checks if T.pgf exists and is up-to-date before reading and computing the union of the L_i.pgf files. The name (T) of the target PGF file has to be given explicitly for this to work, since otherwise the name is not known until the union has been computed. If the functions for reading PGF files and computing the union were lazier, this would not be necessary...
2013-12-18Release note updates and some other minor thingshallgren
2013-12-18PGFtoPython: add Python translations for nonExist, BIND and SOFT_BINDhallgren
Someone who is familiar with the Python translation should check this.
2013-12-18GF home page: use the SVG version of the GF logo in browsers that support ithallgren
It looks better on high resolution screens.
2013-12-17src/server/gf-server.cabal: compile it as a common library + executableshallgren
2013-12-17bugfix in the android keyboard for the choice of languagekr.angelov
2013-12-17show progress bar when translating or when reloading a language in the ↵kr.angelov
lexical activity
2013-12-17examples/phrasebook/Makefile2: Finnish needs a larger stackhallgren
2013-12-17bugfix for grammar loading if the start and the target language happen to be ↵kr.angelov
the same
2013-12-17partial grammar loading in the android app. From now on grammars for Android ↵kr.angelov
shall be compiled with -split-pgf
2013-12-17make sure that pgf_concrete_load has no effect on grammars that are ↵kr.angelov
completely loaded
2013-12-17Add backward compatibility for reading old PGF fileshallgren
Some backwards incompatible changes were made to the PGF file format after the release of GF 3.5. This patch adds a module for reading PGF files in the old format. This means that old PGF files on the grammaticalframework.org server will continue to work after we install the latest version of GF.
2013-12-16GF.Compile.ReadFiles: reduced code duplicationhallgren
2013-12-17ParseFin ProDrop variants ; ParseFre question word order and pronoun gender ↵aarne
variants
2013-12-16examples/phrasebook/Makefile2: remove duplicated rulehallgren
2013-12-13started DocumentationFreaarne
2013-12-12GF home page: add a link to Grégoire's GF build status pagehallgren
The link shows the current build status.
2013-12-10allow the android app to be installed on the SD cardkr.angelov
2013-12-10testsuite: fix test of generate_treeshallgren
There were two differences between the current output and the old gold file: 1. The trees are no longer generated with increasing depth 2. The meaning of the -depth flag has changed: for example, "gt -cat=Nat -depth=1" used to generate only "zero", now you also get "succ zero".
2013-12-10move src/runtime/haskell/CRuntimeFFI to src/runtime/haskell-bind. Don't mess ↵kr.angelov
up with the stable Haskell runtime!
2013-12-10load/unload in the Java bindingkr.angelov
2013-12-10Haskell bindings for the C runtimeinari
Added Haskell bindings for the C runtime. Work in progress, the files are not (and should not be) included in makefiles or anything.
2013-12-10loading and unloading of languages in the C runtime and in the Python bindingskr.angelov
2013-12-10French inflection display in androidaarne
2013-12-10bugfix in the grammar splitterkr.angelov
2013-12-10option --split-pgf replaces option --mk-index. This splits the PGF into one ↵kr.angelov
file for the abstract and one more for each concrete syntax. This is a preparation for being able to load only specific languages from the whole grammar.
2013-12-09new inflection_fi.xml, for stemmed and refactored ParseFinaarne
2013-12-07make ParseFin compile with Constructionaarne
2013-12-06testsuite: reduced the number of failing tests from 25 to 13hallgren
Some tests may fail on Windows because of \ instead of / in paths.
2013-12-06Show relative file paths in error messageshallgren
This is to avoid one trivial reason for failures in the test suite.
2013-12-06partial reconstruction for sentence structures in Susannekr.angelov
2013-12-06GF.Compile.CheckGrammar: add source path to error message for circular ↵hallgren
definitions
2013-12-06GF shell: fix help text for generate_treeshallgren
Trees are not generated with increasing depth.
2013-12-05more on the Susanne treebankkr.angelov
2013-12-04added script for reading the Susanne treebankkr.angelov
2013-12-03testsuite: Use Cabal's new test suite interfacehallgren
* The old way: a user hook in Setup.hs * The new way: specify it in gf.cabal * The test suite is now called gf-tests, and it runs testsuite/run.hs. * You can run it manually with 'runhaskell testsuite/run.hs'. It also runs, together with rgl-tests, when you do 'cabal test' * Currently only 9 of 34 tests pass. Many failures have silly causes: - Error messages that look slightly different - Same output but in a different order - Absolute paths in output
2013-12-03testsuite: use forward slashes in pathshallgren
2013-12-03removed the unlines-lines wrapper from Lexing.unlexer to prevent empty lines ↵aarne
when an unlexer (such as -bind or -unchars) is used as an option in linearization. Don't know really why the input had been broken into lines in the first place. You can see the effect by importing LangEng and running "gr -cat=Cl | l -table -bind" before and after recompiling GF.
2013-12-03fix in inflection_en.xmlkr.angelov
2013-12-02ui/android/.../Translate.java uses Parse8 (change the name and language list ↵aarne
if you need something else)
2013-11-29examples/phrasebook/Makefile2: Romanian needs a larger stackhallgren