SkillAgentSearch skills...

MyPythonCompiler

Compiler Design Project, Compiler with 4 stages i.e lexer, parser, intermediate code generator and optimizations on the icg with AST generation, basically to handle python code structures with foor loops

Install / Use

/learn @VamsiUdaykumar/MyPythonCompiler
About this skill

Quality Score

0/100

Category

Design

Supported Platforms

Universal

README

MyPythonCompiler

As a part of my Compiler Design Project, I have created a python compiler from scratch using the same Grammar Rules for Python. This Compiler is designed only for python code structures with loops and uses PLY tools and is written in Python itself.

There are 4 stages of this project

  1. THE LEXER (inclusive of ignoring singluar and multiple comments)
  2. PARSER (inclusive of identation handling)
  3. INTERMEDIATE CODE GENERATION AND BUILDING AN ABSTRACT SYNTAX TREE
  4. CODE OPTIMIZATION

THE MAIN CHALLENGE WAS TO DEAL WITH INDENTATION AS FAR THE LANGUAGE PYTHON IS CONCERNED

View on GitHub
GitHub Stars14
CategoryDesign
Updated4mo ago
Forks2

Languages

Python

Security Score

77/100

Audited on Nov 13, 2025

No findings