/Mini-Pascal_Scanner_Parser_LexicalAnalysis

A terminal I wrote in C++ that gets mini-pascal syntax as input, scans it, parses it and analyses it to output if it's an acceptable syntax or not, what it should do and which parts are dataTypes, var names and etc. I did this by drawing a full automata and optimising it into a deterministic finite automaton using Peter Linz method. I got tokens and syntaxes of mini-pascal language from Helsinki university website I put in the following: https://www.cs.helsinki.fi/u/vihavain/k16/CodeGeneration/project/minipascalsyntax.pdf

Primary LanguageC++MIT LicenseMIT

No issues in this repository yet.