Skip to content

A super tiny compiler built for researching & understanding the complier Anatomy ⚕️

License

Notifications You must be signed in to change notification settings

namansharma18899/super-tiny-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LOGO

License GitHub forks GitHub issues Last Commit GitHub stars

A super tiny compiler project that demonstrates the basics of building a simple compiler from scratch.

Table of Contents

About

The Super Tiny Compiler is a minimalistic compiler project created to help you understand the fundamental concepts of building a compiler. It provides a simple example of how a compiler can tokenize and parse a basic programming language.

Features

  • Lexer: Tokenizes the source code into individual tokens.
  • Parser: Parses the tokens into an abstract syntax tree (AST).
  • Transformer: Transforms the AST into a new, target programming language.
  • Code Generator: Generates code in the target language.

Getting Started

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Your development environment should support your chosen programming language.

Usage

  1. Clone the repository:
    git clone https://github.com/namansharma18899/super-tiny-compiler.git
  2.  python3 main.py

About

A super tiny compiler built for researching & understanding the complier Anatomy ⚕️

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages