Skip to content

NikRadi/minic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

minic

minic is a small C-compiler project inspired by chibicc and acwj.

Architecture

minic has the following compilation stages:

  1. Parse: Break the file into tokens and create an abstract syntax tree (AST).
  2. Analyze: Resolve variable and function names, check types, and evaluate expressions like sizeof.
  3. Code generation: Generate NASM-compatible assembly targeting x86_64 architecture.

About

A C-compiler written in C

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published