Skip to content

GermanRandle/expression-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

expression-parser

Given some text --- mathematical expression that contains some numbers, variables, arithmetic operations, brackets, etc. Parser uses "recursive descent" method to disassemble the expression. Program has an error handling system.

Information

This is a solution for 3 homeworks of "Introduction to programming" course in CT ITMO. Solution was developed by me. Tests were developed by my teacher Georgiy Korneev.

For running tests

To run test, do these commands:

javac expression/ExpressionTest.java

javac expression/parser/ParserTest.java

javac expression/exceptions/ExceptionsTest.java

java -ea expression/ExpressionTest hard BigDecimal

java -ea expression/parser/ParserTest hard Base Shifts Zeroes

java -ea expression/exceptions/ExceptionsTest hard Shifts PowLog Abs

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages