Chapter 11. Control Flow

In this chapter, we are implementing the if and else keywords, and are approaching the more complex structures such as loops. After introducing the AST earlier, these tasks become quite doable. Also in this chapter: code blocks are introduced.

In this chapter, we are implementing the if and else keywords, and are approaching the more complex structures such as loops. After introducing the AST earlier, these tasks become quite doable. Also in this chapter: code blocks are introduced.

Chapter 10. Test suite

The compiler becomes bigger and bigger, and we are going to add more syntax to the Lingua language. It is a good time to make a pause in the compiler development and ensure some stability. In this chapter, we will create a test suite, which will allow us to find problems in the implementation and prevent new bugs when extending the language.

The compiler becomes bigger and bigger, and we are going to add more syntax to the Lingua language. It is a good time to make a pause in the compiler development and ensure some stability. In this chapter, we will create a test suite, which will allow us to find problems in the implementation and prevent new bugs when extending the language.