DEV Community

Ryo Muta
Ryo Muta

Posted on

Make C preprocessor

Hi!
I am making C language compiler in full scratch. Yesterday, my project reached to making C language preprocessor that can process stdlib.h.

This is my repository.
r-mutax/mcc

My preprocessor's output and cc command output is same. If the output of the preprocessor is the same, the compiled result should be the same.
This is a first step of my great job.
Thanks.

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay