This repository contains a simple integer math interpreter implemented in the Zig programming language. This interpreter can evaluate basic mathematical expressions involving integers, such as addition, subtraction, multiplication, and division.
- Supports addition, subtraction, multiplication, and division operations.
- Evaluates expressions with integer operands.
- Handles parentheses to enforce operator precedence.
To compile and run this interpreter, you need to have Zig installed on your system. You can find instructions for installing Zig on the official Zig website.
-
Clone this repository to your local machine:
git clone https://github.com/joeypas/zigterpreter.git zig build ./zig-out/bin/generator ./zig-out/bin/interpreter testf