php-smplang
simple expression language written in PHP that executes code in an isolated environment (by leongrdic)
expr
Expression language and expression evaluation for Go [Moved to: https://github.com/expr-lang/expr] (by antonmedv)
php-smplang | expr | |
---|---|---|
2 | 24 | |
12 | 4,802 | |
- | - | |
2.5 | 0.0 | |
6 months ago | 5 months ago | |
PHP | Go | |
- | 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.
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.
php-smplang
Posts with mentions or reviews of php-smplang.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-10.
-
simple expression language that doesn't use eval
thanks for the reply! im pretty new to this, so not really. you can take a peak at the source code (https://github.com/leongrdic/php-smplang/blob/master/src/SMPLang.php). it's pretty short and simple but I'd say parsing is pretty strict. I also think I've managed to make the exception message quite useful. let me know what you think if you manage to take a look!
expr
Posts with mentions or reviews of expr.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-17.
-
Solving the Expression Problem in Go
Not diminishing the article at all, there's massive value I've gained from leveraging this runtime solution in multiple projects: https://github.com/antonmedv/expr
The language is easy enough for people to pick-up.
- Expr Release v1.15
- Expr v1.14 release: Go expression language
- Expr – expression language with type checker
-
FireScroll - The config database to deploy everywhere (now with conditional statements!)
Uses the [expr](https://github.com/antonmedv/expr) language to achieve this and I've been super happy with the results.
-
Library to analyze an arbitrary JSON string
I have been using expr (https://github.com/antonmedv/expr) to do something like this for a while. no complains so far.
-
[gcalc] A simple calculater in golang
If you wanted it to not require putting in the operation first and just accept string equations (without using something like https://github.com/antonmedv/expr) you could parse, tokenize and then process the input.
- Go Expression Language
- Polymode: Multiple Major Modes and How to Use SQL and Python in One Buffer
- Expr (Go expression language) releases v1.11
What are some alternatives?
When comparing php-smplang and expr you can also consider the following projects:
sandbox - An online Tau Prolog sandbox
govaluate - Arbitrary expression evaluation for golang
matex - PHP Mathematical expression parser and evaluator
cel-go - Fast, portable, non-Turing complete expression evaluation with gradual typing (Go)
gval - Expression evaluation in golang
grule-rule-engine - Rule engine implementation in Golang
tengo - A fast script language for Go
mosalat - a rule-engine with custom dsl for golang
go-lua - A Lua VM in Go
otto - A JavaScript interpreter in Go (golang)
goja - ECMAScript/JavaScript engine in pure Go
The uGO Language - Script Language for Go