2004-09-02

Happy hacking

Yesterday I badly needed to do some hacking and a little project showed up. I added an %expect directive to Happy. Took me about 2 hours. It was a nice little project.

Now you're probably confused about some things here. Let me explain. Happy is a parser generator for the programming language Haskell. The %expect directive can be found in yacc/bison and lets the programmer get rid of any warnings for conflicts in his grammar by saying exactly how many warnings there are.

Watch out for the next release of Happy.

No comments: