tejohnso.github.com

tejohnso


SCHEEM parser / interpreter

This is a lisp language written as part of Nathan's University's PL101 - Create Your Own Programming Language course.

It currently supports the following keywords:

  • +
  • -
  • *
  • /
  • <
  • >
  • =
  • if [eg: (if (< 5 2) 0 10) ]
  • cons [eg: (cons 1 (quote (2 3))) ]
  • car
  • cdr
  • quote
  • begin [eg: (begin (set! x 5) (set! x (+ x 1)) (+ 2 x)) ]
  • set!

Try it out!

Output: