Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gustafla/c-minifier
Replace identifiers with auto-generated shorter ones
https://github.com/gustafla/c-minifier
c demoscene minify self-compiling stb
Last synced: 22 days ago
JSON representation
Replace identifiers with auto-generated shorter ones
- Host: GitHub
- URL: https://github.com/gustafla/c-minifier
- Owner: gustafla
- License: gpl-3.0
- Created: 2018-05-03T15:52:13.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-08T16:41:56.000Z (over 6 years ago)
- Last Synced: 2024-11-13T13:54:58.248Z (3 months ago)
- Topics: c, demoscene, minify, self-compiling, stb
- Language: C
- Homepage:
- Size: 66.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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: