Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- pprint :: CoreProgram -> String
- showResults :: Printer
- showFinalResult :: Printer
- type Printer = [GmState] -> [Char]
Documentation
pprint :: CoreProgram -> String Source #
pretty prints a core program
showResults :: Printer Source #
outputs each step the GMachine makes in compiling a program
showFinalResult :: Printer Source #
outputs the final result of evaluating a program with the G machine