prologic/monkey: 🐵 Monkey programming language interpreter designed in Writing An Interpreter In Go and Writing a Compiler in Go. A step-by-step walk-through where each commit is a fully working part. Read the books… - monkey - Mills
Monkey programming language interpreter designed in Writing An Interpreter In Go. A step-by-step walk-through where each commit is a fully working part. Read the book and follow along with the commit history. For the last few weeks I've been working on optimizing this implementation of Monkey. Still working on a self-hosted Monkey lang (Monkey written in Monkey). Read the books and follow along with the following commit history. (This also happens to be the elapsed days I took to read both books!) See: Reading Guide Please note that whilst reading the awesome books I slightly modified this version of Monkey-lang in some places. For example I opted to have a single RETURN Opcode. You can also execute program files by invoking monkey <filename> There are also some command-line options: To build run make. To run the tests run make test At the time of writing (06 January 2024) the VM that interprets Monkey bytecode is about as optimized as it can get without resorting to rewriting the virt
monkey-lang Monkey programming language interpreter designed in Writing An Interpreter In Go. A step-by-step walk-through where each commit is a fully working part. Read the book and follow along with the commit history. monkey-lang Status 06 January 2024 Sometime In the past Read and Follow Quick start Development Profiling Go Profiler Hyperfine Examples Hello World Fibonacci FizzBuzz Embedding Performance Syntax Programs Types Variable Bindings Arithmetic Expressions Conditional Expressions While Loops Functions and Closures Recursive Functions Strings Arrays…
saved by
related reading
- how I think when I think about programming - alice mazalicemaz.com
- Rewriting Bun in Rust | Bun Blogbun.com
- Frequently Asked Questions (FAQ) - The Go Programming Languagego.dev
- Ampampcode.com
- Introduction · Crafting Interpreterscraftinginterpreters.com
- Effective Go - The Go Programming Languagego.dev
- The Go Programming Language Specification - The Go Programming Languagego.dev
- (Re)writing an interpreter in Rust – Danny van Kootendannyvankooten.com
- Google's Fully Homomorphic Encryption Compiler — A Primer || Math ∩ Programmingjeremykun.com
- Go at Google: Language Design in the Service of Software Engineering - The Go Programming Languagego.dev
- Commit Mono. Neutral programming typeface.commitmono.com
- Ralph Wiggum as a "software engineer"ghuntley.com