TinyExpr
bashin
TinyExpr | bashin | |
---|---|---|
2 | 6 | |
1,501 | 13 | |
- | - | |
3.5 | 8.0 | |
10 days ago | 3 months ago | |
C | Shell | |
zlib License | GNU General Public License v3.0 only |
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.
TinyExpr
-
math expression interpreter
I had a hard time understanding your readme. I see that you use make to build the program; Why not compile? Does it read stdin or how do you use it? Is it a library you can include and use a command to evaluate arithmetic, like TinyExpr?
-
How would I go about creating a simple parser?
also read this codebase https://github.com/codeplea/tinyexpr
bashin
-
Bashop - A bash framework
there's also bashin
-
math expression interpreter
I think if you did it like that you could drop the exit function maybe others and if it was a library I would use it in bashin
- Moving Forwards and Backwards across pipes in a given line in Bash command Prompt
-
What are some cool/fun things one can do with Bash?
I don't document many projects because they are for my usage. prompt.sh is well documented as well as bashin and of course sysfetch. Also Mac isn't suck on BASHv3 it can be updated. I hear that a lot but I've already had contributors prove that wrong. If you look at sysfetch it was all external commands on commit 1. Also external commands such as awk, sed, grep have absolutely nothing to do with BASH. Those are command usable from and script language. BASH has beautiful bashisms that can do a ton of things. Sysfetch was not usable from WSL, Mac or BSD before the usage of builtins. At one point it was usable from all 3 but I only care about Linux. Contributors can handle other operating systems again if they desire. I never plan to support proprietary bits anyway. It works on BSD already. Another thing to note is many operating systems have different flags for external commands like awk or sed and as a result do different things
- bashin: A minimal pure BASH framework
What are some alternatives?
ExprTK - C++ Mathematical Expression Parsing And Evaluation Library https://www.partow.net/programming/exprtk/index.html
sysfetch - A super tiny system information fetch script written in BASH
muparser - muparser is a fast math parser library for C/C++ with (optional) OpenMP support.
bashop - Bash framework to write bash applications, including argument parser and automated help pages.
LibTomMath - LibTomMath is a free open source portable number theoretic multiple-precision integer library written entirely in C.
bashrc - A super minimal, pretty BASH shell prompt
QuantLib - The QuantLib C++ library
nctui - A network utility wrapper TUI written in pure Bash
hlslpp - Math library using hlsl syntax with SSE/NEON support
bin - Scripts/programs that belong in :wastebasket:
ceval - A C/C++ library for parsing and evaluation of arithmetic expressions.
liir - liir is a simple REPL (Read, eval, print and loop) written in C