Bartosz Witkowski - Blog.
Home About me

I don't even remember when I started writing the Write Yourself a Scheme tutorial, but I stopped writing it about 6 years ago when I lost my interest in mercury.

You can find parts of the unfinished tutorial below, a finished uncleaned working implementation of the interpreter can be found in the scratchpad directory of the tutorial repository.

Table of contents

  1. Intro
  2. Mercury Basics
  3. Hello World
  4. A Simple Parser
  5. Recursion and Parsing Whitespace
  6. Algebraic Data Types-and the Base of our Interpreter
  7. DCGs and Parsing Continued
  8. Typeclasses and Show
  9. Beginnings of an Evaluator