starlight
yaegi
starlight | yaegi | |
---|---|---|
1 | 43 | |
0 | 7,021 | |
- | 1.5% | |
0.0 | 6.6 | |
8 months ago | 2 months ago | |
Go | Go | |
MIT License | Apache License 2.0 |
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.
starlight
-
Choosing scripting extension - need advice
Pretty surprised no one has suggested starlark - Very nice ergonomics on both the scripting side and the interpreter. Worth a look! Especially nice when combined with starlight
yaegi
- Show HN - htmgo, build simple and scalable systems with go and Htmx
-
Ask HN: Writing a Shell in Go, Advice
Take a look at yaegi, it already can be used as a REPL and shell. [1]
[1] https://github.com/traefik/yaegi
- Golang Interpreter Written in PHP
-
CouchGO! — Enhancing CouchDB with Query Server Written in Go
One problem I faced here was that the Query Server should be able to interpret and execute arbitrary code provided in design documents. Knowing that Go is a compiled language, I expected to be stuck at this point. Thankfully, I quickly found the Yeagi package, which is capable of interpreting Go code with ease. It allows creating a sandbox and controlling access to which packages can be imported in the interpreted code. In my case, I decided to expose only my package called couchgo, but other standard packages can be easily added as well.
- Traefik/Yaegi: Yaegi Is Another Elegant Go Interpreter
-
Go: What We Got Right, What We Got Wrong
Yes. There are long standing feature requests for (e.g.) the reflect package that simply don't get done because they'd break this assumption and/or force further indirection in hot paths to support "no code generation at runtime, ever".
Packages like Yaegi (that offers an interpreted Go REPL) have "know limitations, won't be addressed" also because of these assumptions.
https://github.com/golang/go/issues/4146
https://github.com/golang/go/issues/16522
https://github.com/traefik/yaegi?tab=readme-ov-file#limitati...
- Fourteen Years of Go
-
Gojekyll – 20x faster Go port of jekyll
There is always https://github.com/traefik/yaegi - a Go interpreter written to make it easy to write plugins.
- Jacobin: Minimal JVM written in Go and capable of running Java 17 classes
-
Can Go run statements in cmd like Python?
I think https://github.com/traefik/yaegi comes as close as using the python interpreter in you CLI, but for Go
What are some alternatives?
embedded-scripting-languages - A list of embedded scripting languages
gomacro - Interactive Go interpreter and debugger with REPL, Eval, generics and Lisp-like macros
kutil - Go Utilities
golive - ⚡ Live views for GoLang with reactive HTML over WebSockets 🔌
grule-rule-engine - Rule engine implementation in Golang
wazero - wazero: the zero dependency WebAssembly runtime for Go developers
scriggo - The world’s most powerful template engine and Go embeddable interpreter
wasmer-go - 🐹🕸️ WebAssembly runtime for Go
gobook - Simple in Pure Go in Browser Interactive Interpreter
goja - ECMAScript/JavaScript engine in pure Go
gophernotes - The Go kernel for Jupyter notebooks and nteract.