summaryrefslogtreecommitdiff
path: root/src/runtime/c/pgf/literals.c
AgeCommit message (Collapse)Author
2020-05-20fix the uggly typo that broke the literals.krangelov
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
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
2017-04-12a patch from Bjørnar Luteberget for compatibility with MSVCkrasimir
2015-05-19added callback in C for unknown wordskrasimir
2015-05-19the NERC in C is now fully up-to-date with the other NERCs. In addition the ↵krasimir
NERC in Haskell and Java now refuses to recognize names that match words in the lexicon. The latest is useful for German
2015-05-18bugfix in the NERC in Ckrasimir
2015-05-18the callbacks in C now take the concrete syntax as a parameterkrasimir
2015-05-08the parser is now fully Unicode compatiblekrasimir
2015-05-07fix the NERC in C to work for PN as literalkrasimir
2014-12-16change in the API for literalskr.angelov
The API in the C runtime as well as in the Haskell, Python and Java binding is changed. Now instead of adding the literal callbacks to the concrete syntax you need to supply them every time when you need to parse. The main reason is: - referentially transparent API for Haskell - when we start using memory mapped files we will not be allowed to change anything in the grammar data structures. At that point the old API would be impossible to use.
2014-11-27remove pgf/parser.hkr.angelov
2014-10-09throw away the long obsolete runtime type information in the C runtimekr.angelov
2014-04-25an initial Java/C API for predicting literals. Still not utilizedkr.angelov
2014-04-10now fully functional Java API for custom literalskr.angelov
2014-02-05bugfix in the recognizer for literals in the C runtimekr.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-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-05remove the read and write modules from libgu. this simplifies the i/o layerkr.angelov
2013-05-06the statistical parser is now using two memory pools: one for parsing and ↵kr.angelov
one for the output trees. This means that the memory for parsing can be released as soon as the needed abstract trees are retrieved, while the trees themselves are retained in the separate output pool
2012-11-12use size_t consistently as the type for constituent indices in the C runtimekr.angelov
2012-05-08a new unbiased statistical parser. it is still far from perfect use it on ↵kr.angelov
your own risk.
2012-04-18yet another fix for parsing literalskr.angelov
2012-04-12some fixes in the robust parser and a new API for literalskr.angelov
2012-03-12libpgf: a new implementation for literals which also allows custom literals. ↵kr.angelov
the same mechanism is now used for the metavariables