inih
Simple .INI file parser in C, good for embedded systems (by benhoyt)
path_module
Simple and lightweight pathname parser for C. This module helps to parse dirname, basename, filename and file extension . (by PrajwalCH)
inih | path_module | |
---|---|---|
3 | 11 | |
2,740 | 2 | |
1.9% | - | |
6.4 | 7.3 | |
about 1 month ago | over 3 years ago | |
C++ | C | |
GNU General Public License v3.0 or later | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
inih
Posts with mentions or reviews of inih.
We have used some of these posts to build our list of alternatives
and similar projects.
-
Simply Parse in C
This looks interesting. I created and maintain a library for INI parsing that got surprisingly popular -- it's tiny, so is good for embedded systems. This API has a very similar feel to mine, including the callback for every key/value pair with a void* userdata. https://github.com/benhoyt/inih
-
Include library with meson
I don't know if it's the best place to post that but on the meson subreddit there is not much people. I want to include the library INIH (which use meson too) to my project but I don't know how.
-
How to set the max characters in fscanf to be a variable or macro?
One simple format is INI, which has the benefit of being simple and ubiquitous. It has rules for quoting and whitespace. It's human readable and human editable. ini.h is a very simple INI parser library, but there are loads of them.
path_module
Posts with mentions or reviews of path_module.
We have used some of these posts to build our list of alternatives
and similar projects.
- I removed dynamic memory allocation and fixed issues of my previous project: Path_Module.
- [Fixed issues] Removed dynamic memory allocation and fixed many issues of my previous project: Path_Module.
- Here is mine simple and lightweight path parser.
- GitHub - here is mine simple and lightweight pathname parser.
- GitHub - Here is mine simple and lightweight pathname parser for C. This module helps to parse dirname, basename, filename and file extension with their length from pathname.
- Here is mine simple and lightweight path parser. Note: i just published it so some of the comments are remain to remove. But it works fine.
What are some alternatives?
When comparing inih and path_module you can also consider the following projects:
libconfini - Yet another INI parser
md4c - C Markdown parser. Fast. SAX-like interface. Compliant to CommonMark specification.
tree-sitter-tlaplus - A tree-sitter grammar for TLA⁺ and PlusCal
ravi-compiler - Parser and compiler for Ravi and Lua
totalcross - TotalCross is a Software Development Kit that helps cross platform application development. Currently supported platforms are: Windows, Wince, Android, iOS, Linux and Linux ARM for embedded systems.
pl0c - Self-hosting PL/0 to C compiler to teach basic compiler construction from a practical, hands-on perspective.