This is a half decent scheme-like programming language. Please do not use it for anything important.
./schemer - execute files sequentially ./schemer - read from stdin
(define (factorial n) (cond ((eq? n 0) 1) (else (* n (factorial (- n 1)))))) (factorial 10) ;; Returns 3628800.0
Things that are implemented:
define, for both variables and functions
- math functions (
Notable things that aren't implemented:
- Quoting with
set!and its derivatives
- Decent backtraces
- Loading of external files.