r7rs scheme implemetation in zig.
Current status:
- r7rs lexer based on section 7.1.1 of r7rs spec
- parser
with exception of(need to test(a . b)
and(a b c d . e)
expressions.
) - addition of integers in a tree-walk-interpreter.
This section is incomplete and just of list of things to implement in roughly the order I expect to implement them in.
- Lexer
- Nested Comments
- Tests
- Preliminary unit tests done. Need to write tests for
Lexer.getNextToken
.
- Preliminary unit tests done. Need to write tests for
- Simplification?
- Parser
- Cons and improper lists
- Should be done, but need to test.
- Tests
- Cons and improper lists
- Tree-Walk-Interpreter
- Addition of integers
- Simple Expressions
- Big-Ints
- Garbage Collector
- Lambdas
- Syntax-rules
- r7rs records
- r7rs libraries
- Bytecode Interpreter
- Native compiler?