Re: [Haskell-cafe] Parsing in Haskell

2005-02-15 Thread Jules Bean
On 15 Feb 2005, at 10:36, Johan Glimming wrote: Hi I want to implement a little algebraic specification language in Haskell, and I have a working C implementation available which uses yacc/flex. What is the best way of replacing yacc/bison and (f)lex when migrating the project into Haskell? I

RE: [Haskell-cafe] Parsing in Haskell

2005-02-15 Thread Simon Marlow
On 15 February 2005 10:36, Johan Glimming wrote: I want to implement a little algebraic specification language in Haskell, and I have a working C implementation available which uses yacc/flex. What is the best way of replacing yacc/bison and (f)lex when migrating the project into Haskell?

Re: [Haskell-cafe] Parsing in Haskell

2005-02-15 Thread Graham Klyne
I've used Parsec for small and more complex parsing tasks, and found it works well for both. In the past, I've used parser generators (not with Haskell), but now I find that I prefer to express a parser directly in the main programming language I'm using ... that way, it's easier to escape the