A Lisp interpreter designed to be run in the browser using WASM.
You can perform simple numerical operations using +, -, *, and /:
scheme
(+ 1 2) => 3
(/ 5 2) => 2.5
(- 2) => -2
(/ 5) => 0.2
You can define constants using def:
scheme
(def x 3) => 3
x => 3
You can create functions using lambda:
scheme
(lambda (x) (+ x 1)) => <function>
(def add1 (lambda (x) (+ x 1))) => <unspecified>
(add1 3) => 4
def: creates a constant in the current environmentlambda or λ: creates a function+,-,*,/: simple arithmetic operatorsexit: exits with code 0 or code provided by argumenteval: evaluate the expression passed as an argumentuse: evaluate all expressions contained in a file in the current environmentputstr: print a string to stdoutreadline: read a line from stdinequal?: check if any amount of values are equal>, >=, <, <=: number comparison operators