grex
yaegi
grex | yaegi | |
---|---|---|
27 | 43 | |
7,325 | 7,162 | |
- | 1.2% | |
8.1 | 6.6 | |
9 days ago | 4 months ago | |
Rust | Go | |
Apache License 2.0 | 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.
grex
- grex 1.0.0 - Generate regular expressions from user-provided test cases
- Generating regex pattern automatically
-
Regex generator
Sounds like you're looking for something like grex. Mind you, this does not save you from learning about regular expressions. It‘s more of a supporting tool.
- When you have a problem and solve it using RegEx, you end up with two problems
-
Gnarly Learnings from August 2022
grex-js
- Grex – Generate regular expressions from test cases
-
grex 1.4.0 - Generate regular expressions from user-provided test cases
Command-line tool and Rust library: https://github.com/pemistahl/grex
- Regex finder
-
RegExr: Learn, Build and Test Regex
If I understood what you mean, then yes, I bout one https://regex.help/ (powered by https://github.com/pemistahl/grex doing the heavy lifting).
- grex is a library as well as a command-line utility that is meant to simplify the often complicated and tedious task of creating regular expressions. It does so by automatically generating a single regular expression from user-provided test cases.
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?
pomsky - A new, portable, regular expression language
gomacro - Interactive Go interpreter and debugger with REPL, Eval, generics and Lisp-like macros
rust-csv - A CSV parser for Rust, with Serde support.
grule-rule-engine - Rule engine implementation in Golang
codetour - VS Code extension that allows you to record and play back guided tours of codebases, directly within the editor.
golive - ⚡ Live views for GoLang with reactive HTML over WebSockets 🔌
parallel-disk-usage - Highly parallelized, blazing fast directory tree analyzer
scriggo - The world’s most powerful template engine and Go embeddable interpreter
rust-iptables - Rust bindings for iptables
gobook - Simple in Pure Go in Browser Interactive Interpreter
percol - adds flavor of interactive filtering to the traditional pipe concept of UNIX shell
gophernotes - The Go kernel for Jupyter notebooks and nteract.