-
Book Overview & Buying
-
Table Of Contents
Practical Systems Programming in Go
By :
By combining our Pratt parser with a recursive tree-walking evaluator, we have successfully transformed a static collection of Go structs into a programming language. We have moved beyond simple text processing to capture the semantics of variable binding, arithmetic, and conditional logic, proving that the interpreter can not only understand the structure of code but meaningfully execute it. However, our language currently exists in a limited scope; while it can calculate and decide, it lacks fundamental capabilities such as functions, Boolean values, and for loops, as well as support for assignments. All of these, as well as writing tests, are going to be implemented in the next chapter!