- Space in identifiers (e.g.,
w e
is invalid) - Identifiers starting with invalid characters (e.g.,
1words
is invalid) - Multiline strings and block comments handling
- Unknowns in the symbol table (msh moshkla)
- Errors in the symbol table
- Global indentation for control blocks (e.g.,
if
,for
,while
should not be globally indented) -
f
for format strings shouldn't be treated as an identifier - Assignments like
variable = variable
type of first - Include delimiters (parentheses, dots, commas) in parse tree
-
Notifications
You must be signed in to change notification settings - Fork 0
GeorgeHany45/Python-Lexer-Parser
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Built a compiler frontend with tokenization, symbol table, and grammar-based syntax analysis. Added GUI visualization and error handling using Qt.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published