| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2013-11-27 | better dictionary visualization in the Android App | kr.angelov | |
| 2013-11-27 | added API in the C runtime and the Java binding for checking whether a given ↵ | kr.angelov | |
| function is linearizable in a given language. This is used in the Android UI for better vizualizations | |||
| 2013-11-27 | update the project files for the Java binding | kr.angelov | |
| 2013-11-27 | space leak in the Java binding | kr.angelov | |
| 2013-11-26 | Represent identifiers as UTF-8-encoded ByteStrings | hallgren | |
| This was a fairly simple change thanks to previous work on making the Ident type abstract and the fact that PGF.CId already uses UTF-8-encoded ByteStrings. One potential pitfall is that Data.ByteString.UTF8 uses the same type for ByteStrings as Data.ByteString. I renamed ident2bs to ident2utf8 and bsCId to utf8CId, to make it clearer that they work with UTF-8-encoded ByteStrings. Since both the compiler input and identifiers are now UTF-8-encoded ByteStrings, the lexer now creates identifiers without copying any characters. **END OF DESCRIPTION*** Place the long patch description above the ***END OF DESCRIPTION*** marker. The first line of this file will be the patch name. This patch contains the following changes: M ./src/compiler/GF/Compile/CheckGrammar.hs -3 +3 M ./src/compiler/GF/Compile/GrammarToPGF.hs -2 +2 M ./src/compiler/GF/Grammar/Binary.hs -5 +1 M ./src/compiler/GF/Grammar/Lexer.x -11 +13 M ./src/compiler/GF/Infra/Ident.hs -19 +36 M ./src/runtime/haskell/PGF.hs -1 +1 M ./src/runtime/haskell/PGF/CId.hs -2 +3 | |||
| 2013-11-22 | the GF syntax for identifiers is exteded with quoted forms, i.e. you could ↵ | kr.angelov | |
| write for instance 'ab.c' and then everything between the quites is identifier. This includes Unicode characters and non-ASCII symbols. This is useful for automatically generated GF grammars. | |||
| 2013-11-22 | bugfix in the debug mode for the parser | kr.angelov | |
| 2013-11-21 | bugfix in the C runtime | kr.angelov | |
| 2013-11-21 | the Java binding for lookupMorpho should release the local references ↵ | kr.angelov | |
| created in a loop | |||
| 2013-11-20 | fix in the Python binding | kr.angelov | |
| 2013-11-18 | bugfix in the robust parser | kr.angelov | |
| 2013-11-18 | add gu_buf_insert in libgu | kr.angelov | |
| 2013-11-15 | fixes in the C runtime to avoid warnings when compiling on MacOS | kr.angelov | |
| 2013-11-15 | pgf_read should open the grammar file in binary mode to prevent the Windows ↵ | kr.angelov | |
| runtime from messing up the content. | |||
| 2013-11-15 | pgf_reader_done should do nothing if the reading has failed | kr.angelov | |
| 2013-11-15 | add additional options for compiling the Java binding on Windows (suggested ↵ | kr.angelov | |
| by Normunds) | |||
| 2013-11-13 | bugfix in the C runtime which had made the parser up to 200 times slower for ↵ | kr.angelov | |
| some sentences | |||
| 2013-11-12 | added Predef.SOFT_BIND. This special token allows zero or more spaces ↵ | kr.angelov | |
| between ordinary tokens. It is also used in the English RGL to attach the commas to the previous word. | |||
| 2013-11-07 | factor of 3 speedup for the translation without slowing down the grammar ↵ | kr.angelov | |
| loading. The parser still seems to be 8 times slower than before I introduced the BIND. At least the Android UI now feels a lot more comfortable | |||
| 2013-11-07 | bugfix in the binary search implementation in libgu | kr.angelov | |
| 2013-11-07 | remove redundant type signature in gu/seq.h | kr.angelov | |
| 2013-11-07 | fix for the memory allocation in the jitter which should work for Windows. | kr.angelov | |
| 2013-11-07 | the 'Release' configuration in Eclipse is renamed to 'Release (posix)'. In ↵ | kr.angelov | |
| addition now there is 'Release (mingw)' for Windows. | |||
| 2013-11-07 | added #ifdef to detect MinGW in the Java binding and to import the right ↵ | kr.angelov | |
| header for alloca | |||
| 2013-11-06 | fix in the parsing with pre | kr.angelov | |
| 2013-11-06 | bugfix in the Java binding | kr.angelov | |
| 2013-11-06 | Remove PGF.Signature | hallgren | |
| This module should not be part of the public PGF library API, and it was only used in GF.CompileToAPI, so the code was moved there. The module defined constFuncs and syntaxFuncs, but only syntaxFuncs was used. | |||
| 2013-11-06 | the content of ParseEngAbs3.probs is now merged with ParseEngAbs.probs. The ↵ | kr.angelov | |
| later is now retrained. Once the grammar is compiled with the .probs file now it doesn't need anything more to do robust parsing. The robustness itself is controlled by the flags 'heuristic_search_factor', 'meta_prob' and 'meta_token_prob' in ParseEngAbs.gf | |||
| 2013-11-06 | when printing floating literals use %lg instead of %lf for better output | kr.angelov | |
| 2013-11-05 | linearization by chunks in the GF shell: a new command 'lc' needed because ↵ | aarne | |
| 'l' requires type checking and trees with metavariable function heads don't type check. This will hopefully be a temporary command. | |||
| 2013-11-05 | Eliminate mutual dependencies between the GF compiler and the PGF library | hallgren | |
| + References to modules under src/compiler have been eliminated from the PGF library (under src/runtime/haskell). Only two functions had to be moved (from GF.Data.Utilities to PGF.Utilities) to make this possible, other apparent dependencies turned out to be vacuous. + In gf.cabal, the GF executable no longer directly depends on the PGF library source directory, but only on the exposed library modules. This means that there is less duplication in gf.cabal and that the 30 modules in the PGF library will no longer be compiled twice while building GF. To make this possible, additional PGF library modules have been exposed, even though they should probably be considered for internal use only. They could be collected in a PGF.Internal module, or marked as "unstable", to make this explicit. + Also, by using the -fwarn-unused-imports flag, ~220 redundant imports were found and removed, reducing the total number of imports by ~15%. | |||
| 2013-11-04 | fix the debug mode of the JIT compiler after the refactoring in libgu | kr.angelov | |
| 2013-11-04 | A simple type checker in the C runtime. Dependent types are not supported ↵ | kr.angelov | |
| yet but HOAS is implemented. The API is accessible from Python as well | |||
| 2013-11-04 | bug fix in the linearizer | kr.angelov | |
| 2013-11-02 | linearization for HOAS trees. It should word but we need a type checker in ↵ | kr.angelov | |
| order to test it properly | |||
| 2013-11-02 | remove the include of lexer.h from pgf-parse | kr.angelov | |
| 2013-11-01 | fix the parseval metric after the redesign in the C runtime | kr.angelov | |
| 2013-11-01 | bugfix in the linearizer | kr.angelov | |
| 2013-11-01 | make gu_exn_is_raised non inlined. this is useful to make it callable from ↵ | kr.angelov | |
| Haskell | |||
| 2013-11-01 | fix the robust parser for unknown tokens | kr.angelov | |
| 2013-11-01 | bugfix in linearizer.c | kr.angelov | |
| 2013-11-01 | remove the include to mman.h in jit.c since it doesn't seem to be used | kr.angelov | |
| 2013-10-31 | Add a cabal flag to use the standard binary package | hallgren | |
| The standard binary package has improved efficiency and error handling [1], so in the long run we should consider switching to it. At the moment, using it is possible but not recommended, since it results in incomatible PGF files. The modified modules from the binary package have been moved from src/runtime/haskell to src/binary. [1] http://lennartkolmodin.blogspot.se/2013/03/binary-07.html | |||
| 2013-10-31 | fixed utf-8 decoding problem in libgu | kr.angelov | |
| 2013-10-31 | bracketedLinearize in Python is now using the linref | kr.angelov | |
| 2013-10-30 | use linref in the C linearizer. The robust linearization is now fully supported | kr.angelov | |
| 2013-10-30 | fix the debug mode in the linearizer after the refactoring in libgu | kr.angelov | |
| 2013-10-30 | linref is now used by the linearizer. The visible change is that the 'l' ↵ | kr.angelov | |
| command in the shell now can linearize discontinuous phrases | |||
| 2013-10-30 | added the linref construction in GF. The PGF version number is now bumped | kr.angelov | |
| 2013-10-28 | another fix for 'pre' | kr.angelov | |
