Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tpanj/sccp
Simple C Config Parser is simple to use generic reader of key value combinations
https://github.com/tpanj/sccp
c c89 config cross-platform ini toml
Last synced: 3 days ago
JSON representation
Simple C Config Parser is simple to use generic reader of key value combinations
- Host: GitHub
- URL: https://github.com/tpanj/sccp
- Owner: tpanj
- License: mit
- Created: 2018-08-27T22:11:31.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-05T21:15:25.000Z (about 6 years ago)
- Last Synced: 2024-05-02T05:22:08.252Z (5 months ago)
- Topics: c, c89, config, cross-platform, ini, toml
- Language: C
- Size: 3.91 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sccp
Simple C Config Parser is simple to use generic reader of key value combinations# Features
* Minimal dependency and minimalistic.
* C89 compatible, cross platform to compile and use configs.
* Capable of parsing .conf file and return struct of value and key.
* Can parse even simple [TOML](https://en.wikipedia.org/wiki/TOML) (.ini) files and bash environment variables file.
* Comment aware
* If multiple keys are in file returns first occurrence found with value.# Compiling
gcc main.c simple_config.c -std=c89 -pedantic -Wall -o sccpTested also with Visual Studio from 2008 up to 2017