About the project
kite is a Scheme interpreter in Swift with call/cc continuations, tail recursion in constant space and hygienic syntax-rules macros. A continuation is the remembered rest of a computation that a program can return to, and hygienic macros do not mix their names with the names in the user's code. The interpreter computes with integers of any size and exact fractions, so results lose no precision. Programs are typed in live in the REPL, an interactive console.
The challenge
Scheme demands two things you cannot build on the stack of the language the interpreter is written in: first-class continuations you can return to after they have already produced a result, and tail recursion with no depth limit. A naive recursive evaluator in Swift delivers neither.