Commit Graph

10 Commits

Author SHA1 Message Date
kr.angelov
9b7e18c25e change in the API for literals
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-12-16 10:21:26 +00:00
kr.angelov
03b067782c a partial support for def rules in the C runtime
The def rules are now compiled to byte code by the compiler and then to
native code by the JIT compiler in the runtime. Not all constructions
are implemented yet. The partial implementation is now in the repository
but it is not activated by default since this requires changes in the
PGF format. I will enable it only after it is complete.
2014-08-11 10:59:10 +00:00
kr.angelov
7d713d1687 now the named entities recognizer returns dictionary entries if the name is known 2014-06-17 06:57:12 +00:00
kr.angelov
4e328d1f33 added exhaustive generation in the Java binding 2013-09-06 07:21:38 +00:00
kr.angelov
48b6af710d more carefull tracking of references in the Java binding 2013-08-29 05:35:45 +00:00
kr.angelov
de7fbd22e7 fix the error handling in the Java binding 2013-08-28 08:51:53 +00:00
kr.angelov
c9c599977f linearization in the Java binding 2013-08-27 22:39:26 +00:00
kr.angelov
8d82dc66bf parsing from the Java binding 2013-08-27 21:53:13 +00:00
kr.angelov
216f4b1c40 a bit more on the Java to C binding. Now it is possible to load a grammar and query for the list of languages 2013-08-01 10:48:19 +00:00
kr.angelov
e969aa69ff added a test class for the Java API plus a small refinement in the implementation for the binding 2013-05-28 13:32:32 +00:00