Skip to content

"WulffRunsBeta" ANTLR-Parser für normale Rechnungen, zusätzlich Matrixmultiplikation und Differentiation/Integration. Für Höhrere Programmierkonzepte (Sem. 3) im WS 2017-2018.

Notifications You must be signed in to change notification settings

wobfan/wulffrunsbeta_hpk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WulffRunsBeta

WulffRunsBeta is an ANTLR4-based parser for mathematical expressions.

Usage

2+2             // 4
2+6*10			// 62
(2+93)*2        // 190
92/(3*53)       // 0

Looking at the last example, you can see that currently WulffRunsBeta is not able to process double values. Instead, they will be rounded off to integer values.

Installation

Project requires antlr-4.4-complete.jar v4.4 to compile. The JAR has to be located in /usr/local/lib/, or the system path has to be changed to the desired path in /pom.xml.

Start
cd src/main/java
javac -cp /usr/local/lib/antlr-4.4-complete.jar *.java
java Initializer

About

"WulffRunsBeta" ANTLR-Parser für normale Rechnungen, zusätzlich Matrixmultiplikation und Differentiation/Integration. Für Höhrere Programmierkonzepte (Sem. 3) im WS 2017-2018.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published