Raku Books / Creating a Compiler in Raku

Creating a Calculator

In this chapter, we will create a program that will be able to evaluate simple arithmetic expressions such as or . We’ll start from the simplest equations with two operands and will work until we can introduce parentheses.

Course navigation

Final notes   |   Enrolling a sum