Implement of monkey language by Go, designed by Thorsten Ball in books Writing An Interpreter in Go and Writing An Compiler in Go.
Compatibility test run on Go versions from 1.12 to 1.20.
Lastest finished features are committed to main
branch as development branch.
main
branch may not be stable, but it must be compilable and the new feature must be finished.
Release branches:
v0
, development releases of each chapter in book Writing An Interpreter in Go. The final work is released asv1.0.0
and inv1
branch.v1
, development releases of each chapter in book Writing An Compiler in Go. The final work is released asv1.10.1
and inv1
branch.v2
, final work of monkey-lang, followed the steps in books. Add full script support, and ONLY bug fixes will be committed to this branch.v3
, new features or implements for monkey-lang, BUT fully compatible to offical implement.
Monkey-lang has bugs, by original design. Bugs in BUGS are reproduced in offical final work in both WAIIG and WACIG.