For some time I have been trying to modify re2c to my
needs. Although I did not finish that, for some time I
will not have time to continue. Basically, I
reorganized the sources (more modular and probably
easier to understand), added some comments (mostly for
doxygen) and implemented some changes that I hope
others might find useful, too. Description of changes
is in README.in,
together with some comments on the directories. Please
take a look at it.
Note on compiling: for production #define NDEBUG to
turn off assert()'s. Otherwise just ./autogen.sh;
./configure; make; make check; sudo make install;
The resulting program is named re3c-re2c, it is
compatible to re2c (at least to the extent exercised by
make check), although the code emitted is not
identical. (See also -c flag)
make doxy : runs doxygen (HTML output under doxy/)
Unfortunately cannot upload everything:
Error: Uploaded file must be >20 and <256000 bytes.
Removed doc/, test/*, examples/* to accomodate.
(Kept test/trailing-var.* and examples/cmmap_re.c)