pedrumj / parser-complete Goto Github PK
View Code? Open in Web Editor NEWA lexical analyzer + SLR Parser. The lexical analyzer converts the input regular expressions to NFAs. The SLR parser takes the input text file along with the NFAs constructed by the lexical analyzer and an input grammar and generates a parse tree. The program was written in C.