summaryrefslogtreecommitdiff
path: root/src/runtime/c/pgf/linearizer.c
AgeCommit message (Collapse)Author
2020-03-05The APIs for callbacks and the bracketed strings now use a string for the ↵krangelov
analysis intead of an integer. This is now consistent with lookupMorpho and friends
2018-06-20a simple fix for the linearizerKrasimir Angelov
2018-06-20Revert "when linearizing missing functions with brackets, the name of the ↵Krasimir Angelov
function should still be reported" This reverts commit 18204bdd25bd460904ac475f3ea340daa96589df.
2018-06-20Revert "forgot to switch off the debugger"Krasimir Angelov
This reverts commit 5919dfa3366dfd2f2af8c3ce7749d066a2033f0d.
2018-06-20forgot to switch off the debuggerKrasimir Angelov
2018-06-20when linearizing missing functions with brackets, the name of the function ↵Krasimir Angelov
should still be reported
2017-09-14make the API for indexing in the parser and the linearizer public since it ↵Krasimir Angelov
will be needed in the Haskell binding
2017-09-08fix the type signatures for the linearizer callbacksKrasimir Angelov
2017-08-21fix for linearization of metavariablesKrasimir Angelov
2017-08-07the linearizer API now allows to detect metavariables. This is used for ↵Krasimir Angelov
instancein the lookup where the tokens produced from the metavariables are interpreted as distinct from all other tokens.
2017-05-23an optimized expression extraction in the lookupkrasimir
2017-04-19explicitly classify all functions in libpgf as either internal or API functionskrasimir
2017-04-13gu_string_buf -> gu_new_string_buf in libgukrasimir
2015-06-12the orthographic tokens were broken when they appear inside a dictionary ↵krasimir
entry. Now this is fixed by treating those as syntactic rules
2015-05-11added all orthographic primitiveskrasimir
2014-12-29API for word alignment in the C runtime and in the Haskell bindingkr.angelov
2014-10-22CAPIT is now naturally supported in the C runtimekr.angelov
2014-10-09Prelude.CAPIT is now a built-in primitive. It still generates &| in the ↵kr.angelov
Haskell runtime but will be intepreted in the C runtime
2014-10-09throw away the long obsolete runtime type information in the C runtimekr.angelov
2014-03-05implementation for pre in the C runtimekr.angelov
2014-03-04rename pgf_lzr_linearize_table to pgf_lzr_get_tablekr.angelov
2013-12-10loading and unloading of languages in the C runtime and in the Python bindingskr.angelov
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-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-01bugfix in the linearizerkr.angelov
2013-11-01bugfix in linearizer.ckr.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-23tabular linearization in the C and Java runtimeskr.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-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.
2013-09-30better handling for nonExist in the C runtime. BIND is also supported in the ↵kr.angelov
linearizer but not in the parser yet
2013-09-27a major refactoring in the C and the Haskell runtimes. Note incompatible ↵kr.angelov
change in the PGF format!!! The following are the outcomes: - Predef.nonExist is fully supported by both the Haskell and the C runtimes - Predef.BIND is now an internal compiler defined token. For now it behaves just as usual for the Haskell runtime, i.e. it generates &+. However, the special treatment will let us to handle it properly in the C runtime. - This required a major change in the PGF format since both nonExist and BIND may appear inside 'pre' and this was not supported before.
2013-09-17a major refactoring in the C runtime. GuList is now removed and replaced ↵kr.angelov
with GuSeq. The GuSeq/GuBuf API is simplified
2013-09-13minor optimization/refactoring in the grammar readerkr.angelov
2013-09-12remove the logging from libgukr.angelov
2013-09-05remove the read and write modules from libgu. this simplifies the i/o layerkr.angelov
2013-09-04slight optimization for the linearizer in the C runtimekr.angelov
2013-09-04bugfix in the robust linearizerkr.angelov
2013-08-23nonExist now does the expected thingkr.angelov
2013-06-24bugfix for the linearizer in the C runtimekr.angelov
2013-05-04bugfix in the C runtime which was causing an infinite loop while linearizing ↵kr.angelov
partial trees
2013-04-18added API for computing bracketed strings from Python and Ckr.angelov
2013-04-05a bugfix which was causing an infinite loop in the C linearizer for some ↵kr.angelov
sentences
2013-04-05a very simple linearization for partial abstract trees in the C runtimekr.angelov
2013-03-14bug fix in the linearizer in the C runtimekr.angelov
2013-02-13bugfix in the linearizer for the C runtimekr.angelov
2013-02-11remove the pgf2yaml tool which was both broken and redundant. The ↵kr.angelov
declarations for generic programming from data.c are removed as well
2012-12-19bugfix: the linearizer should not generate extra space at the end of the ↵kr.angelov
sentence