> > > What other options are there besides Happy/Alex? I understand these > generate fast parsers but I dislike the interface. I think many people > would like to be able to use a parser combinator library like Parsec. >
Recursion in the grammar must be explicit. So one could use for example Dominique Devriese and Frank Piessens' "Explicitly Recursive Grammar Combinators". http://hackage.haskell.org/package/grammar-combinators > Certainly for small parsing tasks a library would be more approachable > than a source generator. > The combinator-oriented approaches must keep track of type information, which is tedious in the case we're interested in. So there is a tradeoff. Cheers, JP. -- Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel