a simple compiler with semantic errors traitement realized with flex and bison .
The lexical analyzer is generated using Flex to tokenize the input source code.
Bison is employed to generate the parser, ensuring correct syntax parsing and abstract syntax tree (AST) generation.
Clone this repository. You will need flex, bison, and gcc installed on your machine. Enter the CMD,and tap commande.bat then ENTER . for checking with the example : comp.exe<synta1.txt