Skip to content

nobu-g/10cc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

10cc: a simple C compiler

This project is a reimplementation of rui314's 9cc

  • Supported ISA
    • x86_64
  • Assembly Language
    • Intel syntax

Features

  • operations
    • binary: +, -, *, /, ==, !=, <=, >=, <, >, =
    • unary: +, -, &, *, sizeof, ++, --
  • statements
    • if, for, while, return
  • types
    • int, char, pointer, array
  • local/global variable
  • function
  • variable scope
  • string literal
  • comments
  • GNU statement expression
  • initialization of incomplete array

Reference

低レイヤを知りたい人のためのCコンパイラ作成入門

Releases

No releases published

Packages

No packages published