Skip to content

gustafla/c-minifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C Minifier

Usage: minify input.c [-h header.h] > output.c

Use tools like sed to remove unnecessary whitespace and comments.

To keep certain identifiers intact, you can list them line by line in a file called .minify_blacklist in the working directory. You can also use the -h command line option to make the minifier parse and blacklist all the identifiers stb_c_lexer can find in desired header files.

Known issues:

About

Replace identifiers with auto-generated shorter ones

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors