Skip to content

bgb10/simple-bison-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Simple bison calculator

Simple bison calculator for Class : CAU-2020-2 Automata And Formal Theory - Midterm Exam Assignment2

Notice

Contents

  1. Binary operator : + , - , * , /
  2. Unary operator : % , ^
  3. Parenthesis : ( , )
  4. Last result : _
  5. Unary operator sequence : ex. -----------2, ++++++++++2, -+-+-+-+-+2
  6. Operator sequence : ex. 2------------3, 2+-+-+-+-+_3
  7. Comply operator precedence : ex. 2^3^2 == 512 (^ is right associative), 1+23 == 7 ( is prior to +)

About

Simple bison calculator for Class : CAU-2020-2 Automata And Formal Theory - Midterm Exam Assignment2

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published