Vladislav Zavialov
Vladislav Zavialov
This way we can also make `happy` and `happy-boot` into separate executables, replacing the complicated flag-based logic.
The name of the issue is misleading > happy fails to generate valid Haskell when `` is used. It generates valid Haskell, just not the Haskell that you expect. Happy...
The problem is that Happy does not parse/rename the source code, so it cannot embed it in the TH AST.
The problem is deeper - the whole codegen thing is a kind of a hack (in my opinion) because it doesn't generate an intermediate syntax tree, but attempts to generate...
There is a well-maintained for of Parsec — https://hackage.haskell.org/package/megaparsec — that has support for `ByteString` and even custom input stream types.
No technical reason, just a communication issue (I guess merging these changes upstream was difficult). I think if @mrkkrp got commit bits, he would not be opposed to having all...
> I could probably put together a minimal working example Please do, and without using Alex, if possible.
It's open!
Fine with me.
Consider using https://github.com/cohomology/gi-cairo-render, it solves the issue for me. There's an example there, too.