
10 Sep
2007
10 Sep
'07
5:34 p.m.
On 9/9/07, Tim Newsham
I wrote a small intro about how to write a parser in haskell. Its basically about parsec and how it works, but its written without directly referencing parsec and aimed towards beginners (basically wrote it for some friends).
Nice development of combinators, and pretty readable. Not sure the level of Haskell knowledge expected, but you might want to explain pattern guards. Also, I believe your parser will fail if whitespace appears at the front of the input - you might want to introduce a "token" like combinator that drops whitespace as needed. Justin