Commit Graph

10 Commits

Author SHA1 Message Date
kr.angelov
9bc5349e62 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
584d589041 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
fe49ddf16d now the named entities recognizer returns dictionary entries if the name is known 2014-06-17 06:57:12 +00:00
kr.angelov
5a4454aa8f added exhaustive generation in the Java binding 2013-09-06 07:21:38 +00:00
kr.angelov
bb007630d7 more carefull tracking of references in the Java binding 2013-08-29 05:35:45 +00:00
kr.angelov
e1362fdb83 fix the error handling in the Java binding 2013-08-28 08:51:53 +00:00
kr.angelov
e274cce213 linearization in the Java binding 2013-08-27 22:39:26 +00:00
kr.angelov
d3631d918d parsing from the Java binding 2013-08-27 21:53:13 +00:00
kr.angelov
bf04d9fce7 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
bae05df3b0 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