Skip to content

rns/libmarpa-bindings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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