Difference between revisions of "Haskell Quiz/Bytecode Compiler"
Jump to navigation
Jump to search
Jim Burton (talk | contribs) m |
|||
Line 6: | Line 6: | ||
==Solutions== |
==Solutions== |
||
+ | |||
+ | * [[Haskell Quiz/Bytecode Compiler/Solution Michael Sloan|Michael Sloan]] |
||
* [[Haskell Quiz/Bytecode Compiler/Solution Justin Bailey|Justin Bailey]] |
* [[Haskell Quiz/Bytecode Compiler/Solution Justin Bailey|Justin Bailey]] |
Revision as of 05:17, 6 November 2006
The Problem
Create a bytecode compiler as described on the test page. The Ruby solution involves being run by a interpreter written in Ruby - but that wont' work for the Haskell solution. Anyone want to write the interpreter in Haskell to test the solutions? :)
Solutions
- A (non-monadic) solution to the parsing and eval part of this quiz is a case study in Chapter 17 of The Craft of Functional Programming by Simon Thompson.