Skip to content

Chady00/TinyCompiler

Repository files navigation

TinyCompiler

Tiny compiler ( Lexical analysis + Syntax Analyzer) implemented in a user-friendly GUI

A QT-based project that serves in creating a tiny compiler that receives a percept of sentences, break them down into tokens according to tiny language grammar, and performs syntax analysis on each group of tokens to validate its integrity.

Ability to detect comments, and errors; and evaluate their root cause: image

The user is allowed to load samples | Enter sample manually by typing in the QTTextBox : image The compiler utilized in this implementation possesses advanced capabilities, akin to leading compilers employed globally, which allow it to not only identify but also display the generated errors. This feature enables developers to promptly detect and rectify any coding issues or inconsistencies. The compiler emulates the behavior of renowned compilers extensively utilized in the industry, ensuring compatibility and facilitating a smooth development process:

image

Sample 1 : image

My tiny compiler also has the capability to generate a table of the valid parsed tokens: image

Sample 2 : image image

About

Tiny compiler ( Lexical analysis + Syntax Analyzer) implemented in a QT user-friendly GUI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors