Instead of preprocessing an outer layer of CPP when building Alex, just
always produce code that uses CPP. Combined with from-source
bootstrapping, this means Alex an have a perfectly bog standard build
system, with Makefiles and extra steps strictly optional.
I gather Hugs, and possibly other Haskell implementations, out of the
box doesn't support CPP, but I don't want this to stop us. Those can
just manually run CPP on the generated code first.
Instead of preprocessing an outer layer of CPP when building Alex, just always produce code that uses CPP. Combined with from-source bootstrapping, this means Alex an have a perfectly bog standard build system, with Makefiles and extra steps strictly optional.
I gather Hugs, and possibly other Haskell implementations, out of the box doesn't support CPP, but I don't want this to stop us. Those can just manually run CPP on the generated code first.
Same idea as https://github.com/simonmar/happy/pull/179.