Simple bison calculator for Class : CAU-2020-2 Automata And Formal Theory - Midterm Exam Assignment2
- Compiled in bison https://www.gnu.org/software/bison/manual/bison.html and gcc
- Written in Visual Studio Code
- DO NOT COPY
- Binary operator : + , - , * , /
- Unary operator : % , ^
- Parenthesis : ( , )
- Last result : _
- Unary operator sequence : ex. -----------2, ++++++++++2, -+-+-+-+-+2
- Operator sequence : ex. 2------------3, 2+-+-+-+-+_3
- Comply operator precedence : ex. 2^3^2 == 512 (^ is right associative), 1+23 == 7 ( is prior to +)