Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 458 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 458 Bytes

What is it?

A really simple calculator that's powered by antlr4 to demonstrate how to create an AST using antlr4. This is basically a java translation of the stackoverflow answer here

Requirements

  1. java jdk
  2. antlr4 jar (found here)
  3. make

Building

make -e antlr4_jar=/path/to/antlr4_jar build
make -e antlr4_jar=/path/to/antlr4_jar run