Skip to content

luigimassagallerano/JExpCalculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JExpCalculator

EBNF Arithmetic Expression Interpreter

Simple Java implementation of an EBNF Arithmetic Expression calculator. The following Software Design Patterns were used:

  • Interpreter Pattern: in order to build the Syntax Tree as a Composite Structure and evaluate recursively the Expression value
  • Visitor Pattern: in order to allow different Tree Traversals over the Syntax Tree: Postfix, Infix, etc.

A Parser, able to build the Syntax Tree from a plain input String, is still missing and it will be added later.

About

EBNF Arithmetic Expression Interpreter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages