Logic & Functional

Scheme / Lisp Playground

R6RS-style Scheme interpreter - lambdas, recursion, tail calls.

Runtime: BiwaScheme (pure JS)

About this playground

Scheme playground using BiwaScheme, a pure-JavaScript Scheme interpreter. Supports a working subset of R6RS - lambdas, let / letrec, define, recursion, tail calls, lists, higher-order functions, basic I/O. Perfect for teaching SICP-style functional programming without installing Racket.

FAQs

Which Scheme dialect?

BiwaScheme targets a working subset of R6RS / R7RS. Most SICP / The Little Schemer / HtDP examples run as-is - lambdas, let-forms, recursion, mutation, lists.

Why not Racket?

Racket needs a full local install with a 100+ MB runtime. BiwaScheme is ~200 KB of pure JavaScript, perfect for browser playgrounds.

How do I print?

Use (display ...) or (write ...) followed by (newline). Output appears in the panel below the editor.

Other playgrounds