Skip to content

Latest commit

 

History

History
33 lines (28 loc) · 1.04 KB

File metadata and controls

33 lines (28 loc) · 1.04 KB

zscheme

r7rs scheme implemetation in zig.

Current status:

  • r7rs lexer based on section 7.1.1 of r7rs spec
  • parser with exception of (a . b) and (a b c d . e) expressions (need to test .)
  • addition of integers in a tree-walk-interpreter.

TODO

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.
    • Simplification?
  • Parser
    • Cons and improper lists
      • Should be done, but need to test.
    • Tests
  • Tree-Walk-Interpreter
    • Addition of integers
    • Simple Expressions
    • Big-Ints
    • Garbage Collector
    • Lambdas
    • Syntax-rules
    • r7rs records
    • r7rs libraries
  • Bytecode Interpreter
  • Native compiler?