Skip to content

jeeeem/minic

 
 

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 (to be study in the future)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C 96.0%
  • Python 3.1%
  • Makefile 0.9%