inih
Simple .INI file parser in C, good for embedded systems (by benhoyt)
calculator-c-parser
A simple implementation of a parser and its use to calculate simple mathematical expressions (by alt-romes)
inih | calculator-c-parser | |
---|---|---|
3 | 3 | |
2,740 | 16 | |
1.9% | - | |
6.4 | 0.0 | |
about 1 month ago | over 4 years ago | |
C++ | C | |
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.
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.
calculator-c-parser
Posts with mentions or reviews of calculator-c-parser.
We have used some of these posts to build our list of alternatives
and similar projects.
- Show HN: Simple Calculator Parser in C
-
Programmer calculator and LL parser made in C from scratch
While writing the parser I also wrote a separate simpler version to serve as an example to someone who might be interested in parsers (https://github.com/alt-romes/calculator-c-parser)
What are some alternatives?
When comparing inih and calculator-c-parser you can also consider the following projects:
libconfini - Yet another INI parser
tree-sitter-rasi - RASI grammar for tree-sitter
tree-sitter-tlaplus - A tree-sitter grammar for TLA⁺ and PlusCal
lalr-parser-test - Testing how different LALR(1) parsers detect grammar conflicts
path_module - Simple and lightweight pathname parser for C. This module helps to parse dirname, basename, filename and file extension .
MQTT-C - A portable MQTT C client for embedded systems and PCs alike.