Chapter 3. Creating a Calculator

This is a chapter fromCreating a compiler with Raku In this chapter, we will create a program that can evaluate simple arithmetic expressions such as 3 + 4  or 3 – 3 * 7. We’ll start from the simplest equations with two operands and will work until we can introduce parentheses. Enrolling a sum Let us first … Continue reading “Chapter 3. Creating a Calculator”