build system changed to automake
exported public C API
parser updated to accept function header and functors