use FLex or Lex for the lexical part of the task and Yacc or Bison for writing a parser for a simple language

Job ID: 35096503

Budget: $30 – $250 USD

For this, you will use FLex or Lex for the lexical part of the task and Yacc or Bison for writing a parser for a simple language described as:

P  S; P| S
S print | push int | pop | add |mul | sub |div

Where add, mul, sub, and div stand for operations +, *, -, and /, respectively.
(Check file for details)