Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 1.67 KB

README.md

File metadata and controls

50 lines (35 loc) · 1.67 KB

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