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 <niklas.brob...@gmail.com> 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 _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe