Latest / Developer tools

expr

github.com · Open source · Quiet

C library for parsing and evaluating typed expressions

Visit github.com ↗Share

  • expression
  • expression evaluator
  • expression parser
  • rpn
  • shunting yard
  • recursive descent parser
  • c expression parser
  • formula evaluator
  • rpn c
Stars
21
Forks
0
Open issues
0
Last commit
Releases
1
Found
2 years ago

GitHub figures as of . They are context, not a ranking.

expr is a C library that parses and evaluates expressions over several value types, including numbers, strings, dates and booleans. It came out of a larger reactive key-value database project and suits developers who need formula evaluation inside C code.

Repository description on GitHub: “An expression parser supporting multiple types”

What it does

  • Parses and evaluates typed expressions in C
  • Supports number, string, bool, datetime and error types
  • Stateless, with no dependencies and user-managed memory

Good for

  • Evaluate formulas entered by users inside a C program
  • Precompile expressions to an RPN stack for repeated use

Suits: C developers who need formula evaluation in their code.

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw expr on , when torrentg posted it to Show HN. The oldest published release on GitHub is 0.7.0, dated . Its first tagged release landed the same day it was found.

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 33 points, 6 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 33 points, 6 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: torrentg/expr
  2. Release 0.7.0
  3. Found: torrentg posted it to Show HN. Show HN
  4. Day-7 check recorded by Kip (details)
  5. Day-30 check recorded by Kip (details)

Quick answers

When was expr released?
Its first tagged release on GitHub is dated 24 Sep 2024. Kip found it on Show HN on 24 Sep 2024.
Is expr open source?
Its source is public on GitHub at torrentg/expr under the MIT licence.
What does expr run on?
Library.
Is expr free?
It is open source, so the code is free to read and run; check the licence for terms.
Is expr still maintained?
It has had no commit or release for over a year as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositorytorrentg/expr
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-41635088. Summary written by KipFound’s editor.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.