risor
juryrig
risor | juryrig | |
---|---|---|
8 | 1 | |
565 | 1 | |
9.6% | - | |
9.0 | 10.0 | |
9 days ago | over 1 year 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.
risor
-
Risor v1.4.0: write scripts for K8s, Vault, and the Go ecosystem
GitHub project here:
https://github.com/risor-io/risor
-
Scripting with Go: A Modest Proposal
Take a look at Risor and its pipes capability.
https://github.com/risor-io/risor#quick-example
Stay in the Go ecosystem, but gain pipes, Python-like f-strings, and more.
(I'm the author)
- Risor: Fast and flexible scripting for Go developers and DevOps.
-
Risor – Fast and flexible scripting for Go developers and DevOps
All good questions. Risor hasn't really fully "launched" yet and its documentation is incomplete at this point.
GCP and Azure to be added in the coming weeks. Here's a related GitHub issue:
https://github.com/risor-io/risor/issues/65
For now, you can browse the available modules in the source tree here:
https://github.com/risor-io/risor/tree/main/modules
Please open an issue on GH if you have other module requests! MySQL is a logical one but I was waiting for someone to ask :-)
- Risor: Fast and flexible embedded scripting language for Go projects
-
Zygomys: Embedded Scripting Language for Go
Nice. Somehow this is the first time I'm seeing Zygomys.
If you're not in love with the lisp syntax, you might want to take a look at Risor as well.
https://github.com/risor-io/risor#quick-example
```
juryrig
-
Zygomys: Embedded Scripting Language for Go
I worked on a side project to try and generate mapping code with Go (like mapstruct) but abandoned it: https://github.com/liampulles/juryrig
I do wish there was a nice library to aid in parsing Go, there may be one I'm not aware of - I used the standard AST library but it is very verbose. Actually generating the code is very easy and go format helps a lot.
Custom kubernetes operators in Go use code generation via comments extensively, perhaps worth looking at.
What are some alternatives?
shtlang - A toy scripting dynamic imperative programming language.
zygomys - Zygo is a Lisp interpreter written in 100% Go. Central use case: dynamically compose Go struct trees in a zygo script, then invoke compiled Go functions on those trees. Makes Go reflection easy.
golisp - A Scheme-flavored Lisp implemented in Go.
expr - Expression language and expression evaluation for Go [Moved to: https://github.com/expr-lang/expr]
script - Making it easy to write shell-like scripts in Go
cel-go - Fast, portable, non-Turing complete expression evaluation with gradual typing (Go)
stream - Package stream provides filters that can be chained together in a manner similar to Unix pipelines.
go - The Go programming language
ecal - A simple embeddable scripting language which supports concurrent event processing.
task - Go task package