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:
See the LICENSE file for legal information.
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.