Skip to content

Basic ANTLR calc grammar compiler

Notifications You must be signed in to change notification settings

Splines/antlr-simple-calc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple calc grammar compiler using ANTLR

Implemented using the VisitorPattern approach

  • See the Calc grammar here
  • See the Calc visitor here

ANTLR IntelliJ Plugin

If you use the great ANTLR IntelliJ Plugin, you should configure it like shown in the image below (under Tools -> Configure ANTLR...).

Configure ANTLR Tool