Installing the PGF run-time library → Example 2: a question-answering system
Exporting GF abstract syntax to Haskell
When we build the PGF file, we can also ask for the abstract syntax to be translated to Haskell
gf -make -output-format=haskell ArithmeticEng.gf
linking ... OK Writing Arithmetic.pgf... Writing Arithmetic.hs...