Sx

All Files in cmd/
Login

All Files in cmd/

Files in directory /cmd in any check-in


cmd - an example interactive shell to experiment with s-expressions

This package contains some example code that shows how to work with the packages defined in this repository. All predefined callable and syntax functions are available.

The shell produces some kind of verbose logging when it is evaluating symbolic expression. To control this logging, some additional functions are available:

Some symbols are bound to specific objects:

When the shell starts, the content of the file "prelude.sxn" is evaluated before any input is read from the user (via the reader).