Skip to content

Arthurbric/Compiler_C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Custom Compiler in C 🛠️

Overview

This project is a simple compiler built from scratch using the C programming language. It serves as a learning tool to explore the fundamental processes involved in compiling source code into executable programs.

Features

  • Lexical Analysis: Tokenizes the input source code.
  • Parsing: Analyzes the syntax of the code and builds an abstract syntax tree.
  • Semantic Analysis: Checks for semantic correctness.
  • Code Generation: Converts the parsed code into an intermediate representation or target code.

Technologies Used

  • Language: C
  • Tools: GCC, Makefile
  • Development Environment: Linux/Unix-based systems

Getting Started

  1. Clone the repository:

    git clone https://github.com/Arthurbric/Compiler_C.git
    cd custom-compiler
  2. Compile the source code:

    make
  3. Run the compiler on a sample source file:

    ./compiler sample.c

Contributors

  • Arthur Arash Briceño Heidari

Contact

For questions or contributions, feel free to reach out:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors