This example provides a parser and interpreter for a simple arithmetic language. It supports normal infix operators, as well as two special statements:

A quick example:

    let f = 100
    let c = (f - 32) / 1.8
    let r = c
    print r

Input

Output

Errors

Abstract Syntax Tree


Copyright (C) 2009 Rob King - Please see COPYING for licensing information.