Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimplePreprocessor

Language Parser Tools Build License

A minimal C preprocessor written in C using Flex (Lex) and GNU Bison.

Usage

Basic usage:

./build/pp path/to/input.c

With include directories and predefined macros:

./build/pp -DDEBUG -DVERSION=3 -I include -I third_party/include source.c

Main takeaway from this project

Its easier to rewrite the preprocessor from scratch rather than using these...

About

A minimal C preprocessor written in C using Flex (Lex) and GNU Bison

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages