expr
ciao
Our great sponsors
expr | ciao | |
---|---|---|
4 | 3 | |
5,443 | 237 | |
4.7% | 3.0% | |
9.4 | 8.8 | |
9 days ago | 24 days ago | |
Go | Prolog | |
MIT License | GNU Lesser 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.
expr
-
SQL as API
You're basically creating an expression language: https://github.com/expr-lang/expr
ciao
- PHP: Prolog Home Page
-
An embeddable Prolog scripting language for Go
Some Prolog systems (like Ciao Prolog https://github.com/ciao-lang/ciao/blob/master/core/lib/forei...) implement bidirectional foreign interfaces. Once you have C bindings it is easy to write bindings from Rust, C++, or any other language (that can interoperate with C). I give here some details about Ciao because this is the system I know better but it should be similar for other popular Prolog implementations.
The tradeoffs depend on the complexity of the Prolog code and your needs for performance and features: pure LP, Prolog (search+unification+cut), garbage collection, dynamic database updates, constraint domains, etc. The Ciao Prolog engine is around 300-400KB. Adding a few libraries, compiler, etc. it goes to 2MB. Naive Prolog systems can be one order of magnitude smaller at the cost of sacrificing ISO compatibility, performance, etc. Note that "performance" can be very misleading. Some Prolog programs may run particularly fast in some Prolog system and very badly in others.
- Keeping POWER relevant in the open source world
What are some alternatives?
govaluate - Arbitrary expression evaluation for golang
prolog - The only reasonable scripting engine for Go.
Prolog-to-List-Prolog - Converts Prolog algorithms to List Prolog algorithms
trealla-js - Trealla Prolog for the web
cel-go - Fast, portable, non-Turing complete expression evaluation with gradual typing (Go)
librealsense - Intel® RealSense™ SDK
grule-rule-engine - Rule engine implementation in Golang
go - Trealla Prolog embedded in Go using WASM
php - Prolog Home Page
Gleemin - A Magic: the Gathering™ expert system
a2o
ligmascript - LIGMAScript (the bestest programming language ever) compiler and interpreter