This book is the sequel to "Build Your Own Interpreter in Go Language". When you make your own interpreter, you have implemented C-like syntax, variable binding, basic data types, arithmetic operations, built-in functions, closures and other features for the Monkey language. It's time for Monkey to continue to grow! Throughout this book, Monkey will continue to "evolve" and eventually grow into a mature programming language. Based on the existing lexical analyzer, syntax analyzer and abstract syntax tree, you will define bytecode instructions for the Monkey language, specify the operands, write a disassembler, and build a virtual machine to execute the bytecode. Through hands-on learning, you will be able to experience the fun of implementing a C-like language from scratch.
Reader comments
This book is great! Based on the Monkey language, the author further implemented bytecode instructions and virtual machines, allowing us to experience the fun of creating a language from scratch. I particularly like the practical aspects of the book. Through hands-on operations, it is easier to understand and master the knowledge points. Moreover, the author also thanked his wife in the book, which made me feel his sincerity and love for his family. All in all, this is a book well worth reading.
This book is great! Based on the Monkey language, the author further implemented bytecode instructions and virtual machines, allowing us to experience the fun of creating a language from scratch. I particularly like the practical aspects of the book. Through hands-on operations, it is easier to understand and master the knowledge points. Moreover, the author also thanked his wife in the book, which made me feel his sincerity and love for his family. All in all, this is a book well worth reading.