Try Rust - higepon/mosh GitHub Wiki

Based onIntroduction - Writing Interpreters in Rust: a Guide we explore if it's fun to rewrite Mosh in Rust.

Goals

  • We'll see if it's practically possible to rewrite Mosh in Rust with current design (Compiler written in Scheme).
  • We'll see all basic building blocks work.
    • Scheme object with tag bits.
    • GC
    • Run small list of instructions in VM
    • UTF-8
    • File I/O

Non Goals

  • Fully rewrite Mosh.
  • Well designed Rust code.

Milestones

  • M1: Just build the example
  • M2: Define Fixnum and it's predicate
  • M3: Create simple VM to just evaluate constant
  • M4: Update VM to run addtion
  • M5: Come up with a rough idea of how we implement GC.