Mentions légales du service

Skip to content

Draft: Add in line_machine.py the code generation for use with cffi (+ working example of use)

MARCHAL Damien requested to merge dmarchal/compaut:pr-add-ccode-for--cffi into master

This PR aims at supporting using cffi as machine code generation. For that: A new function is added in SimpleLineMachine. This function emits a C version implementing single line regex matching. This function can be compiled and loaded using cffi.

A working exemple combining cffi+compaut is provided in cffi_re.py.

Merge request reports