This repository contains the code for scanning, parsing and interpreting the expressions. It is based on the expression grammar. The abstract syntax tree generated using expression grammar is interpreted using a visitor design pattern. Here is the article for a detailed explanation.
- Use the following command to build the application.
$ mvn clean install -DskipTests
- Use the following command to run the application.
$ java -jar target/interpreters-1.0.jar