inih VS tree-sitter-tlaplus

Compare inih vs tree-sitter-tlaplus and see what are their differences.

inih

Simple .INI file parser in C, good for embedded systems (by benhoyt)

tree-sitter-tlaplus

A tree-sitter grammar for TLA⁺ and PlusCal (by tlaplus-community)
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
inih tree-sitter-tlaplus
3 3
2,994 75
1.0% -
6.1 3.3
4 months ago 4 months 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.

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
    1 project | news.ycombinator.com | 19 Jul 2023
    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
    1 project | /r/C_Programming | 31 Mar 2022
    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?
    1 project | /r/C_Programming | 22 Aug 2021
    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.

tree-sitter-tlaplus

Posts with mentions or reviews of tree-sitter-tlaplus. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2026-05-13.
  • The Emacsification of Software
    6 projects | news.ycombinator.com | 13 May 2026
    I've done some similar stuff.

    I wanted to reference some TLA+ community stuff. I was initially just copy-pasting the specs into mine, and that worked well enough, but it was a little tedious and I was kind of afraid I might accidentally forget to give attribution to someone if I used their spec.

    So I got Claude to build a TLA+ package manager for me. It's just a basic thing in Rust that allows me to plop a deps.json file into my TLA+ folder, and put a git repo url and commit hash, and then I use tree-sitter-tlaplus [1] to rename the modules to have a basic namespace to avoid collisions. It took about 30 minutes of fighting with Claude, but then it worked fine.

    As AI gets better and better and cheaper and cheaper, I suspect it will be easy to have tons of custom apps for everything. It's a brave new world.

    [1] https://github.com/tlaplus-community/tree-sitter-tlaplus

  • Writing a TLA⁺ tree-sitter grammar: my foray into free software
    2 projects | news.ycombinator.com | 12 Jan 2023
    Not an emacs person myself (yet!) - Carl Thuringer created tla-mode that apparently uses the grammar: https://github.com/carlthuringer/tla-mode

    Haven't tested it out myself. Happy to take any PRs if emacs needs its own set of query files; they would live in https://github.com/tlaplus-community/tree-sitter-tlaplus/tre... and they can be added to CI runs to ensure they stay in sync with changes to the parser.

  • Happy 15th birthday Hacker News
    1 project | news.ycombinator.com | 18 Feb 2022

What are some alternatives?

When comparing inih and tree-sitter-tlaplus you can also consider the following projects:

calculator-c-parser - A simple implementation of a parser and its use to calculate simple mathematical expressions

tree-sitter-go-template - Golang template grammar for tree-sitter

libconfini - Yet another INI parser

tree-sitter-embedded-template - Tree-sitter grammar for embedded template languages like ERB, EJS

libhydrogen - A lightweight, secure, easy-to-use crypto library suitable for constrained environments.

grove - Universal AST parser built on Tree-sitter [GET https://api.github.com/repos/mintlify/grove: 404 - Not Found // See: https://docs.github.com/rest]

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured

Did you know that C++ is
the 7th most popular programming language
based on number of references?