Part II: Source code is here

I’m still working on Part II of the book but wanted to share some of the source code from Part II which is now available in branch part-2 of the book code repository:

Some of the new things (that will be discussed in Part II) are:

  • Primitive types like boolean,
  • Arrays and heap allocation,
  • Visitors (code generation is converted to a visitor),
  • Type checking (also implemented as a visitor).

Also, source code is now split into modules, but this won’t be covered in the book.

Let me know what you think! My goal is still to finalize the book before the end of this month.

2 Likes