Re: [Haskell-cafe] Cabal with Alex and and Happy

2005-07-05 Thread Isaac Jones
Brian Smith [EMAIL PROTECTED] writes: Is there an example of how to build a Cabal package that has a lexer generated with Alex and a parser generated with Happy? As far as I can tell, the way to do this is to add Other-Modules: Module.Name.Of.Parser.y Module.Name.Of.Lexer.x to each

[Haskell-cafe] Cabal with Alex and and Happy

2005-06-13 Thread Brian Smith
Is there an example of how to build a Cabal package that has a lexer generated with Alex and a parser generated with Happy? As far as I can tell, the way to do this is to add Other-Modules: Module.Name.Of.Parser.y Module.Name.Of.Lexer.x to each executable/library stanza. But, when I try this, I

Re: [Haskell-cafe] Cabal with Alex and and Happy

2005-06-13 Thread Lemmih
On 6/13/05, Brian Smith [EMAIL PROTECTED] wrote: Is there an example of how to build a Cabal package that has a lexer generated with Alex and a parser generated with Happy? As far as I can tell, the way to do this is to add Other-Modules: Module.Name.Of.Parser.y Module.Name.Of.Lexer.x to each

Re: [Haskell-cafe] Cabal with Alex and and Happy

2005-06-13 Thread Sebastian Sylvan
On 6/13/05, Brian Smith [EMAIL PROTECTED] wrote: Is there an example of how to build a Cabal package that has a lexer generated with Alex and a parser generated with Happy? As far as I can tell, the way to do this is to add Other-Modules: Module.Name.Of.Parser.y Module.Name.Of.Lexer.x to each

Re: [Haskell-cafe] Cabal with Alex and and Happy

2005-06-13 Thread Lemmih
On 6/13/05, Sebastian Sylvan [EMAIL PROTECTED] wrote: On 6/13/05, Brian Smith [EMAIL PROTECTED] wrote: Is there an example of how to build a Cabal package that has a lexer generated with Alex and a parser generated with Happy? As far as I can tell, the way to do this is to add