Skip to content

2xic/tiny-c-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C compiler and a tiny libc

Project I started on before Christmas 2023, might return to it or skip to next level ...

It's one of the chapters for From the Transistor to the Web Browser, namely the compiler chapter. I did it in Python instead of Haskell. If you prefer more exocit languages, see this project I did.

Sub-project Status
The C compiler Can run basic programs
The linker Skipped it
The baby libc You only get malloc ... for now.

Ast example

example