https://github.com/kvbc/mpmp
Multi-purpose macro-processor (in-progress)
https://github.com/kvbc/mpmp
macro-processor preprocessor
Last synced: 6 days ago
JSON representation
Multi-purpose macro-processor (in-progress)
- Host: GitHub
- URL: https://github.com/kvbc/mpmp
- Owner: kvbc
- License: mit
- Created: 2022-03-21T10:58:16.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-09T19:04:04.000Z (almost 4 years ago)
- Last Synced: 2024-12-30T19:46:17.068Z (about 1 year ago)
- Topics: macro-processor, preprocessor
- Language: C
- Homepage:
- Size: 76.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mpmp
Multi-purpose macro-processor
I'm too stupid and couldn't get any general-purpose macro-processor out there to work, so I decided to make my own.
Obviously it's got lots of bugs and is quite inefficient, but it meets my needs.
Sooner or later I will run some tests.
If I find any bugs, I will do my best to fix them.
# Usage
`src` - source file
`out` - output file
```
mpmp
```
# Building
Nothing too fancy
```
gcc mp.c file.c process.c cstr.c -o mpmp -std=c11 -Wno-format -Wall -Wextra -pedantic
```