Skip to content

An efficient Lexer and recursive decent parser for c++ language. Implemented in Python

Notifications You must be signed in to change notification settings

huzaifamaw/Lexical_Analyzer-Parser_Implemented-in-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

This is a Lexical analyzer and a Parser implemented in Python for the purpose of learning and practice. I have implemented Recursive Decent Parser for C++ language.

Given File contain two classes: Lexer and Parser

In lexer tokens are being generated from the input variable named as: blank_var. An input file can also be given as a input source.

Parser class is using list of Tokens and checking the syntax accordingly. There is also a symbol table implemented which can be in the semantic phase of the compiler.

Releases

No releases published

Packages

No packages published

Languages