How to Use This Site

(learn 'scheme) is a tiny, interactive implementation of the Scheme programming language that runs in your browser.

Scheme is a minimalist variant of Lisp that can be studied in order to understand Lisp in general. Lisp is frequently touted as a "powerful" programming language because of its unique design in which code is just data that can manipulated or transformed in order to create new programs at run-time.

How do I use (learn 'scheme)?

(learn 'scheme) is an interactive environment for learning Scheme. At any time, you can click the Launch Editor button in the navigation bar at the top of the screen to launch the editor. Note that, on small screens, you may need to expand the navigation bar in order to find the Launch Editor button.

Once you're in the editor, you can type Scheme code into the Input text box. When you want to execute your code, simply click the Evaluate button or press Ctrl+Enter. The output of the evaluation will be displayed in the Output text box.

To navigate the content on (learn 'scheme), use the Next, Contents, and Previous links at the top and bottom of each page.

Demo

Below, you'll find a sample of Scheme code in a text box, followed by the expected output of evaluating the code.

If you'd like to try the code out, click the Try it button on the right side of the example code text box or double-click the text box itself to launch the editor with the example code. Once the editor is shown, you can follow the instructions above to evaluate the code and view the output.

As an example, the following code

(+ 1 2)

evaluates to:

3

Feedback

I hope you enjoy using (learn 'scheme)! If you have any suggestions or if you run into any issues, please open a new issue on the GitHub issue tracker.