Difference between revisions of "Haskell Quiz/Bytecode Compiler"

From HaskellWiki
Jump to navigation Jump to search
 
(added link to Craft of FP solution)
Line 8: Line 8:
   
 
* [[Haskell Quiz/Bytecode Compiler/Solution Justin Bailey|Justin Bailey]]
 
* [[Haskell Quiz/Bytecode Compiler/Solution Justin Bailey|Justin Bailey]]
  +
  +
* A (non-monadic) solution to this is a [http://www.cs.kent.ac.uk/people/staff/sjt/craft2e/Code/Parsing/Parsing.hs case study] in Chapter 17 of [http://www.cs.kent.ac.uk/people/staff/sjt/craft2e The Craft of Functional Programming] by Simon Thompson.

Revision as of 10:57, 4 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