summaryrefslogtreecommitdiff
path: root/src/runtime/c/pgf
AgeCommit message (Collapse)Author
2014-03-07added pgf_lookup_word_prefix which makes it possible to do simple word ↵kr.angelov
prediction
2014-03-06C run-time: protect from Windows specific #includes with #ifdef __MINGW32__hallgren
2014-03-05implementation for pre in the C runtimekr.angelov
2014-03-04memory leak in parseval.ckr.angelov
2014-03-04rename pgf_lzr_linearize_table to pgf_lzr_get_tablekr.angelov
2014-02-27include malloc.h in a few places to avoid warnings on Windowskr.angelov
2014-02-09GuVariant is now plain uintptr_t instead of a structure to make it easier to ↵kr.angelov
write Haskell bindings
2014-02-05bugfix in the recognizer for literals in the C runtimekr.angelov
2013-12-17make sure that pgf_concrete_load has no effect on grammars that are ↵kr.angelov
completely loaded
2013-12-10loading and unloading of languages in the C runtime and in the Python bindingskr.angelov
2013-11-27added 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-22the 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-22bugfix in the debug mode for the parserkr.angelov
2013-11-21bugfix in the C runtimekr.angelov
2013-11-20fix in the Python bindingkr.angelov
2013-11-18bugfix in the robust parserkr.angelov
2013-11-15fixes in the C runtime to avoid warnings when compiling on MacOSkr.angelov
2013-11-15pgf_read should open the grammar file in binary mode to prevent the Windows ↵kr.angelov
runtime from messing up the content.
2013-11-15pgf_reader_done should do nothing if the reading has failedkr.angelov
2013-11-13bugfix in the C runtime which had made the parser up to 200 times slower for ↵kr.angelov
some sentences
2013-11-12added 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-07factor 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-07fix for the memory allocation in the jitter which should work for Windows.kr.angelov
2013-11-06fix in the parsing with prekr.angelov
2013-11-06the 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-06when printing floating literals use %lg instead of %lf for better outputkr.angelov
2013-11-04fix the debug mode of the JIT compiler after the refactoring in libgukr.angelov
2013-11-04A 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-04bug fix in the linearizerkr.angelov
2013-11-02linearization for HOAS trees. It should word but we need a type checker in ↵kr.angelov
order to test it properly
2013-11-01fix the parseval metric after the redesign in the C runtimekr.angelov
2013-11-01bugfix in the linearizerkr.angelov
2013-11-01fix the robust parser for unknown tokenskr.angelov
2013-11-01bugfix in linearizer.ckr.angelov
2013-11-01remove the include to mman.h in jit.c since it doesn't seem to be usedkr.angelov
2013-10-31bracketedLinearize in Python is now using the linrefkr.angelov
2013-10-30use linref in the C linearizer. The robust linearization is now fully supportedkr.angelov
2013-10-30fix the debug mode in the linearizer after the refactoring in libgukr.angelov
2013-10-30added the linref construction in GF. The PGF version number is now bumpedkr.angelov
2013-10-28another fix for 'pre'kr.angelov
2013-10-28fix the handling of 'pre' in the C runtimekr.angelov
2013-10-23tabular linearization in the C and Java runtimeskr.angelov
2013-10-21bugfix for the custom literals in the C runtimekr.angelov
2013-10-09avoid warning in parser.c when debugging is OFFkr.angelov
2013-10-09a major redesign in the C runtime. The parser and the linearizer now fully ↵kr.angelov
support BIND. The following things are still broken: parseval, word completion, handling 'pre', the robust mode
2013-10-08fix the robust parser after the change of GuStringkr.angelov
2013-10-08bugfix in GNU lightning for ARMkr.angelov
2013-10-07fix the grammar printer after the change of GuString in libgukr.angelov
2013-10-04suppress warning in graphviz.ckr.angelov
2013-10-04GuString is now an ordinary C string - it makes live easier. In addition ↵kr.angelov
PgfSymbolKS, PgfExprFun and PgfLiteralStr now keep their strings as embedded flexible arrays. The latest change gives us the same compactness as the old representation but it is a lot easier to use.