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)

Build gen AI apps that run anywhere with MongoDB Atlas

Build gen AI apps that run anywhere with MongoDB Atlas

MongoDB Atlas bundles vector search and a flexible document model so developers can build, scale, and run gen AI apps without juggling multiple databases. From LLM to semantic search, Atlas streamlines AI architecture. Start free today.

Start Free

👋 Kindness is contagious

Sign in to DEV to enjoy its full potential—unlock a customized interface with dark mode, personal reading preferences, and more.

Okay