[go: up one dir, main page]

Skip to content

hana-day/mdcc

Repository files navigation

mdcc

mdcc is a small compiler for C programming language. I wrote this just for fun and studying low-level programming.

The frontend and the backend of mdcc are written by hand. After the abstract syntax tree is created, mdcc converts the tree into the stack machine code written in x86-64 assembly without using IR. Currently, there are lots of missing features such as struct, preprocessor, global variables and etc. But, mdcc can compile relatively complex programs like this Brain fu*ck interpreter.

Resources

About

A home-made small C compiler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published