-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
14 lines (9 loc) · 862 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
This is an exceedingly naïve "teach yourself to program in fixnum days" kind of exercise. The goal is to write first an in-browser REPL for R5RS Scheme and then a compiler from R5RS to JavaScript.
The initial, horrific, fumbling stages have been omitted.
This project is clearly derivative and will be building off of models provided by SICP, Norvig's lis.py, Nils Holm's S9fES, Christian Queinnec's Lisp in SMall Pieces, Dmitri Soshnikov's CoffeeScript metacircular interpreter, James Coglan's Heist, and Abdulaziz Ghuloum's compilers tutorial (to start).
We'll aim to support:
symbols, characters, character strings, lists, numbers (complex, real, rational, integer; exact, inexact), Booleans, vectors, ports, procedures, JavaScript literals
Character literals: #\Z, #\space
Javascript literals: #<...>#
Vector literals: #(a b c)
quote, if, set!, lambda: