Skip to content
Tim Landscheidt edited this page Mar 11, 2016 · 3 revisions

Welcome to the flex wiki!

The ultimate goal of this project is to enable flex to generate scanners in PHP. The intermediate goal is to transform flex's engine to something more Bison-like which allows different skeletons for different languages more easily.

There are three main development branches in this repository:

  • m4-nopreproc is branched off master and removes the m4 preprocessing of the skeleton file.

  • autotest is branched off m4-nopreproc and converts the testsuite to autotest.

  • m4v2 is branched off autotest and implements a Bison-like architecture (or at least it tries to :-)). I originally envisioned migrating code from C to m4 section by section, but soon I had to realize that flex's code is too intertwined for that so at the moment the branch looks like a crowded attic that lots of stuff has been shoved into - but it works :-).

As I am (so far) the sole contributor to this project, I frequently git rebase commits so that the history isn't cluttered with "introduced a bug, found a bug, fixed a bug" cycles and corrections of typos & Co.

Any feedback, suggestions and bug reports are highly appreciated! :-)

Clone this wiki locally