Chapter 12. Other Haskell utility programs

Table of Contents

12.1. “Yacc for Haskell”: happy
12.2. Writing Haskell interfaces to C code: hsc2hs
12.2.1. command line syntax
12.2.2. Input syntax
12.2.3. Custom constructs
12.2.4. Cross-compilation

This section describes other program(s) which we distribute, that help with the Great Haskell Programming Task.

12.1. “Yacc for Haskell”: happy

Andy Gill and Simon Marlow have written a parser-generator for Haskell, called happy. Happy is to Haskell what Yacc is to C.

You can get happy from the Happy Homepage.

Happy is at its shining best when compiled by GHC.