path_module
Simple and lightweight pathname parser for C. This module helps to parse dirname, basename, filename and file extension . (by PrajwalCH)
inih
Simple .INI file parser in C, good for embedded systems (by benhoyt)
path_module | inih | |
---|---|---|
11 | 3 | |
2 | 2,315 | |
- | - | |
7.3 | 4.4 | |
over 2 years ago | 11 days ago | |
C | C | |
MIT License | GNU General Public License v3.0 or later |
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.
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.
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.
What are some alternatives?
When comparing path_module and inih you can also consider the following projects:
libconfini - Yet another INI parser
calculator-c-parser - A simple implementation of a parser and its use to calculate simple mathematical expressions
tree-sitter-tlaplus - A tree-sitter grammar for TLA⁺ and PlusCal
libvncserver - LibVNCServer/LibVNCClient are cross-platform C libraries that allow you to easily implement VNC server or client functionality in your program.
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.
libhydrogen - A lightweight, secure, easy-to-use crypto library suitable for constrained environments.