[Haskell-cafe] feasability of implementing an awk interpreter.
watkins at alum.rpi.edu
Sat Aug 21 23:22:15 EDT 2010
I don't think Template Haskell will be essential for this - you will probably need a parser (probably written with Parsec), an eval function, and a state monad to represent imperative changes made by the language you're evaluating. Template Haskell is more for the elimination of boilerplate code or turning specs into compile-time constraints.
On Thursday Aug 19, 2010, at 11:05 PM, Michael Litchard wrote:
> I'd like the community to give me feedback on the difficulty level of
> implementing an awk interpreter. What language features would be
> required? Specifically I'm hoping that TH is not necessary because I'm
> nowhere near that skill level.
> An outline of a possible approach would be appreciated. I am using
> as a guide to the language description.
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe