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: 4 months ago
JSON representation
204212 ADT and Problem Solving Final Project: The Visitor Design Pattern, Differentiation, and Assembly Code Generation for Infix Expression
- Host: GitHub
- URL: https://github.com/pnnutkung/adtfinalproject
- Owner: PNNutkung
- Created: 2015-12-07T12:20:32.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-26T14:39:01.000Z (over 9 years ago)
- Last Synced: 2025-01-09T12:27:09.183Z (6 months ago)
- Language: Java
- Size: 27.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.