The objective of this work was to implement lexical and syntactic language recognition, which allows, based on a text file with a program in Portugol, it to be possible to:
- interpret the code, thereby executing the algorithm;
- generate the C code corresponding to the processed algorithm.