https://github.com/ae2f/preproc
Preprocessor for C.
https://github.com/ae2f/preproc
Last synced: 3 months ago
JSON representation
Preprocessor for C.
- Host: GitHub
- URL: https://github.com/ae2f/preproc
- Owner: ae2f
- License: other
- Created: 2025-03-11T05:03:18.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-21T17:39:04.000Z (10 months ago)
- Last Synced: 2025-07-21T19:34:39.360Z (10 months ago)
- Language: CMake
- Size: 30.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ae2f::Preproc
> This project has been migrated to [codeberg.org](https://codeberg.org/ae2f/Preproc).
> You will still be able to access to upstream with github page.
The cmake utilities for enabling template meta programming in C with macro-function generating and including.
Basically it uses `stdin` and `stdout` for processing, and you will need to pipeline those outputs.
> Which means you will making new files.
It is written in standard ANSI C, which is the lowest version covered by cmake.
The sources now covers from ANSI C to C23.
# ae2f_PreProc_C_COMPILER
When you define this value on cmake, 't will be expected to valid C compiler for configuration step.
# Requirements
- A C compiler >= 90 (aka ANSI C)
- cmake >= 3.20
- A functional OS which supports standard library of C and pipelining.
- Unix based systems are recommended.
- Windows is tested.
# Known Issues
> Currently it does not understand single-line comments at all.
> It could ruin the user experience.
> It cannot be installable due to my lack of understanding of cmake.