Interpreting Go

from blog Notes on software development, | ↗ original
After spending some time at work on tooling for keeping documentation in sync with Go struct definitions I had enough exposure to Go's built-in parsing package that next steps were clear: write an interpreter. It's a great way to get more comfortable with a language's AST. In this post we'll use the Go parser package to interpret the AST directly...