-
Notifications
You must be signed in to change notification settings - Fork 13
Try Rust
Higepon Taro Minowa edited this page Nov 24, 2022
·
4 revisions
Based onIntroduction - Writing Interpreters in Rust: a Guide we explore if it's fun to rewrite Mosh in Rust.
- 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
- Fully rewrite Mosh.
- Well designed Rust code.
- 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.