According to the grammar specification of PL/0 language, write the lexical analysis program of PL/0 language.
Requirements:
- Design the lexical analyzer as an independent process
- The output form of the lexical analyzer adopts a binar
The details can refer /Lab1/img.png and /Lab1/input.txt
Syntactic analysis of expressions using operator precedence parsing
Use LR analysis method to do syntax analysis on expressions