✳flâneur — a map of the web's best reading

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

git.mills.io ¡ 34 words ¡ saved by 1 readers

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

Explore this link on the map →

saved by