ANTLR has the same problem. Where any non-trivial grammar will require embedded code, forking it away from ever being supported by more than one backend.
It might be nice to have Lua or a Scheme embedded in the generator platform so that, one can truly target multiple backends.
It might be nice to have Lua or a Scheme embedded in the generator platform so that, one can truly target multiple backends.