Skip to content
bindings to libmarpa based on libffi and Kollos
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
benchmark
c#
c
lua
python
.gitignore
LICENSE
README.md
libmarpa-dists

README.md

libmarpa-bindings

libffi- and Kollos-based bindings to libmarpa -- an ANSI C library, which implements Marpa parsing algorithm ("parse anything that can be written in BNF", really ).

Status

libmarpa

Version 7.5.0 releases (source code) built by make dists as described in libmarpa's INSTALL file.

Lua

libmarpa C functions can be called (and error-checked) from Lua via luajit FFI Library.

Sample JSON Parser, mostly a port of json.c with libmarpa bindings and with a basic handwritten lexer based on PCRE regexes.

An interface (grammar, recognizer/lexer, valuator) is being written.

Python

libmarpa C functions can be called (and error-checked) from Python via cffi.

Sample JSON Parser, also a port of json.c with a handwritten lexer based on Python regexes.

C#

Just started: only version checking via P/Invoke, MSVC 2010 Express

You can’t perform that action at this time.