Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 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

78 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages