summaryrefslogtreecommitdiff
path: root/src/runtime/python
AgeCommit message (Collapse)Author
2019-12-07remove bogus commentkrangelov
2019-12-07silence warnings in the Python bindingskrangelov
2018-05-24spell error in py.egs.READMEPrasanth Kolachina
2017-09-28the parser for abstract expressions in the C runtime now supports partial parsesKrasimir Angelov
2017-09-26added a method in Python for pretty printing a grammarKrasimir Angelov
2017-09-08fix the type signatures for the linearizer callbacksKrasimir Angelov
2017-09-06word completion in the C parser now returns information about the function ↵Krasimir Angelov
which generates the token
2017-09-06the parser in the C runtime can now detect incomplete sentences just like ↵Krasimir Angelov
the parser in the Haskell runtime. This is also reflected in all bindings.
2017-08-31the C runtime now supports the same customizations for GraphViz as the ↵Krasimir Angelov
Haskell runtime
2017-08-28more in the runtime documentationKrasimir Angelov
2017-08-20lookupSentence is now available from PythonKrasimir 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-11bugfix for print names in the C runtime and expose the functionality from Javakrasimir
2017-04-19make some of the functions in the Python binding statickrasimir
2017-04-13use gu_string_buf_data in the Python binding to avoid copyingkrasimir
2017-04-13gu_string_buf -> gu_new_string_buf in libgukrasimir
2017-01-26now the Python API also accepts types as start categories. Using a string is ↵krasimir
still ok.
2017-01-26bring the Haskell binding a bit closer to the pure Haskell APIkrasimir
2016-09-19python examples compatible with both Python 2 and 3prasanth.kolachina
2016-08-01python2 is now supported. the patch is based on a contribution from Vinit ↵krasimir
Ravishankar
2016-08-01two memory leaks in the Python bindingskrasimir
2016-06-16bugfix in the load method in the Python binding. The file was never closed.krasimir
2016-05-20change the API for literals in Java and Python. The input sentence is no ↵krasimir
longer a parameter to the callbacks.
2015-12-18fix in the Python binding. The input sentence to the parser needs to be ↵krasimir
copied since otherwise the Python string may be discarded the garbage collector
2015-09-30added bracketedLinearizeAll in Pythonkrasimir
2015-08-12pickling/unpickling for typeskrasimir
2015-08-12support for transparent pickling/unpickling of abstract expressions in Pythonkrasimir
2015-07-03merge the states for reasoning and evaluation into a single structurekrasimir
2015-05-18the callbacks in C now take the concrete syntax as a parameterkrasimir
2015-04-27fix a memory management error in linearizeAll in the python binding. a new ↵krasimir
temporary pool is used on every iteration to keep memory allocation to constant
2015-04-27fix warning in the Python bindingkrasimir
2015-04-27mark two more functions as static in the Python bindingkrasimir
2015-04-27K translations in pipelineprasanth.kolachina
2015-04-27K Linearizationsprasanth.kolachina
2015-04-27Python linearizeAll with lazynessprasanth.kolachina
linearizeAll function will take an expression and an optional n keyword argument and return an iterator to the n-variant linearizations of the expression.
2015-04-27remove parsing for long sentences, to stop pipeline from crashing/hangingprasant.kolachina
2015-04-26bug fix in python examplesprasant.kolachina
2015-04-26bug fix python examplesprasant.kolachina
2015-04-26Bug fix python examplesprasant.kolachina
2015-04-26Changes in lexerprasanth.kolachina
2015-04-24Bug fix in gf_utilsprasanth.kolachina
2015-04-22No debug messagesprasanth.kolachina
2015-04-22Minor bug in pgf parse and kparseprasanth.kolachina
2015-04-22README for Python translation pipelineprasanth.kolachina
2015-04-22Cleaned up Python Translation pipelineprasanth.kolachina
2015-04-22Examples for using Python bindingsprasanth.kolachina
The examples directory contains two modules for using Python bindings in GF. The gf_utils module provides various Python functions to perform parsing and linearization using the C runtime. Additionally, the translation_pipeline module is an replica of the current pipeline used in the Wide-coverage Web translation pipeline.
2015-01-05fix the reference counting for callbacks in Pythonkr.angelov
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-10-22CAPIT is now naturally supported in the C runtimekr.angelov
2014-10-22make the fields of BracketedString in the Python binding read/writekr.angelov