Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pnnutkung/adtfinalproject

204212 ADT and Problem Solving Final Project: The Visitor Design Pattern, Differentiation, and Assembly Code Generation for Infix Expression
https://github.com/pnnutkung/adtfinalproject

Last synced: 8 days ago
JSON representation

204212 ADT and Problem Solving Final Project: The Visitor Design Pattern, Differentiation, and Assembly Code Generation for Infix Expression

Awesome Lists containing this project

README

        

ADT Lecture Final Project by 5710546372 Pipatpol Tanavongchinda
=======

The Visitor Design Pattern, Differentiation, and Assembly Code Generation for Infix Expression.

How to compile and run ?
-----
Use `javac` in command line to compile **Main.java** or use IDE (likes eclipse or IntelliJ IDEA).

Any known bugs and/or any incomplete parts.
-----
* If input has same number(or variables) more than 2 number my program can't simplify.
Ex. x+x+x It can't simplify to 3*x.
* If input is evaluated value less than 0 my program can't simplify to negative value.
Ex. 0 - x It can't simplify to -x.
* If input x+x after differentiate it can't simplify to 2.

Warning
----
If input has divided by zero, it will throw an exception.