An open API service indexing awesome lists of open source software.

https://github.com/ae2f/preproc

Preprocessor for C.
https://github.com/ae2f/preproc

Last synced: 3 months ago
JSON representation

Preprocessor for C.

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.