flex: Started to investigate porting this.

This one looks to be more tricky than bison
as it uses fork a lot, maybe porting the m4
calling code from bison is a good idea?

I will ask the flex developers for their
opinion.