cel-go
tengo
cel-go | tengo | |
---|---|---|
8 | 5 | |
2,307 | 3,551 | |
1.9% | - | |
9.0 | 5.4 | |
9 days ago | 8 months ago | |
Go | Go | |
Apache License 2.0 | MIT License |
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.
cel-go
- Lingo: A Go micro language framework for building Domain Specific Languages
-
CEL on N resources?
There's a simple repl implementation in the cel-go repo that you can use https://github.com/google/cel-go/tree/master/repl/main. But not sure about what you actually want to do though. Has a bit of on XY problem feel to be honest.
- Library to analyze an arbitrary JSON string
-
Suggestion for a dynamic Struct Validation Rules
https://github.com/google/cel-go Didn't find much support for structs.
-
JQL in go
There’s also https://github.com/google/cel-go which is similar but different at the same time
-
Expr - an expression evaluation language for Go
Hello, thanks for sharing - looks awesome. I am currently experimenting with https://github.com/google/cel-go to add some dynamic boolean expressions to my project. Possibly you have heard about Cel and can tell how Expr compares to it?
-
antonmedv/expr: Expression language for Go
Very cool! Any ideas how this compares with https://github.com/google/cel-go ?
- Common Expression Language (CEL); lightweight expression evaluation
tengo
-
Making Games in Go for Absolute Beginners
> It also has a bunch of libraries for embedding scripting languages https://awesome-go.com/embeddable-scripting-languages, with Tengo _probably_ being the quickest https://github.com/d5/tengo
Yes, I noticed those packages recently. The problem is that there is little data about how reliable and maintainable goloader is going to be on the long term.
As I care about performance and security, I don't want a scripting language, but WASM seems to be a very promising possibility. I have made benchmarks with 2~3 WASM engines in Go, and so far I am not completely convinced about the quality and performance of the available APIs. Also, when compiling Golang to WASM, the native compiler is still abysmally bad and does not have full support for imports, so Tinygo is a must-have.
Anyway, modding is still a long term idea at this point, so hopefully the ecosystem will get more mature within a couple of years.
-
Looking for programming languages created with Go
- https://github.com/d5/tengo
-
Change go code behaviour at runtime
There are totally different things like https://github.com/d5/tengo but I don't know much about the docs, communities, or viability of them. Some like this one look very active and healthy. It might be worth considering.
-
Asking for advice to get deeper understanding of golang internals.
I started doing this a few years ago when I wanted to add programmability to another system I was working on, and didn't want Lua or anything else like that. I set it aside when other priorities arose, and didn't return to it when I saw that others had already done the same thing (yaegi, tengo).
What are some alternatives?
expr - Expression language and expression evaluation for Go [Moved to: https://github.com/expr-lang/expr]
gopher-lua - GopherLua: VM and compiler for Lua in Go
otto - A JavaScript interpreter in Go (golang)
gval - Expression evaluation in golang
goja - ECMAScript/JavaScript engine in pure Go
anko - Scriptable interpreter written in golang
agora
go-php - PHP bindings for the Go programming language (Golang)
go-python - naive go bindings to the CPython2 C-API
go-lua - A Lua VM in Go