go-php
expr
Our great sponsors
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.
go-php
-
Show HN: FrankenPHP, an app server for PHP written in Go
This is amazing, and way more advanced than what was there. Going to definitely use it on the next project.
Previously, there was https://github.com/deuill/go-php which was PHP5 and PHP7, but you needed to build PHP with ZTS. I forked it to focus on PHP5 (https://github.com/borancar/go-php). My primary goal was to port some legacy PHP over iteratively via the Strangler pattern.
expr
-
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?
go-python - naive go bindings to the CPython2 C-API
govaluate - Arbitrary expression evaluation for golang
go-lua - A Lua VM in Go
cel-go - Fast, portable, non-Turing complete expression evaluation with gradual typing (Go)
go-duktape - [abandoned] Duktape JavaScript engine bindings for Go
gval - Expression evaluation in golang
otto - A JavaScript interpreter in Go (golang)
grule-rule-engine - Rule engine implementation in Golang
tengo - A fast script language for Go
gisp - Simple LISP in Go
mosalat - a rule-engine with custom dsl for golang