
18 Oct
2010
18 Oct
'10
5:41 p.m.
On Sat, 2010-10-16 at 16:44 +0100, Thomas Schilling wrote:
I'm CC'ing Duncan, in case he has a better idea.
On 13 October 2010 19:44, Niklas Broberg
wrote:
What I want specifically is to have happy produce a GLR parser from my .ly file, and I want this to happen during 'cabal install'. Which in turn means I want cabal to pass the "--glr" flag to happy during setup. My best guess is that I might want to use 'ppHappy' [1], or something in the vicinity, but there's no documentation for the combinator and it's far from obvious how to pass arguments to it.
I think the "right solution" is for the happy source file to specify what kind of grammar it is / should be produced. Yes, that would mean modifying happy. Duncan