petermichaux / royal-scheme

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

Home Page:http://peter.michaux.ca/index#Royal%20Scheme

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

http://peter.michaux.ca/index#Royal%20Scheme

License:Other


Languages

Language:C 100.0%