Skip to content

AhmedSabz/CMPE152Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CMPE 152 Project: Penta Assembly Compiler Penta is a new assembly language that my team made. It involves 5 registers along with add, multiply, and subtract instructions This project involves designing a compiler in C++ for CMPE 152. The goal is to create a tool that can validate Penta assembly language code.

The compiler will:

Use a context-free grammar (CFG) to define the structure of valid x86 assembly code. Generate parse trees to analyze and verify the correctness of the assembly language. This project demonstrates the principles of compiler design, including syntax analysis, grammar creation, and tree-based parsing.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages