Royal Scheme will eventually grow to be a real, usable, embeddable Scheme implemented in ANSI C.
C
Latest commit dc1ea9b Nov 17, 2012 @petermichaux formatting
Failed to load latest commit information.
.gitignore
CHANGES
LICENSE
Makefile
README.md
eval.c
model.c
print.c
read.c
repl.c
scm.h
util.c comments Jul 29, 2011

README.md

Royal Scheme

Royal Scheme will eventually grow to be a real, usable, embeddable Scheme implemented in ANSI C.

A primary goal of Royal Scheme is documenting the development of a real language implementation to show that mortals can accomplish the task.

Example build and use.

$ cd royal-scheme
$ make && ./scm
Welcome to Royal Scheme. Ctrl-c to exit.
> 123
123
> +123
123
> -123
-123
> a
error: scm_read: unexpected char '\141'

For more information see:

License

See the LICENSE file for legal information.

Acknowledgements

Thanks to Abdulaziz Ghuloum for his paper "An Incremental Approach to Compiler Construction". The pedagogy of his paper inspired the incremental development of Royal Scheme.

Thanks to Alex Shinn for making his Chibi-Scheme implementation open source. Chibi-Scheme has inspired much of the code in Royal Scheme.