risor
zx
risor | zx | |
---|---|---|
8 | 116 | |
565 | 41,891 | |
9.6% | 3.0% | |
9.0 | 8.5 | |
9 days ago | 4 days ago | |
Go | JavaScript | |
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.
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
```
zx
-
How and why do we bundle zx?
When zx first appeared, it was a tiny esm script that just proposed a new idea for how child_process.spawn API could be enhanced with string template literals.
- Zx 8.0
- Google ZX – A tool for writing better scripts
-
Dax – Cross-platform shell for Node.js
TIL about zx! https://github.com/google/zx
This suite of tools feels indispensable. Anything to keep me from having to write/maintain bash scripts that are more than a series of commands.
-
The Bun Shell
Great point! According to https://github.com/oven-sh/bun/blob/b433beb016470b87850f3c01..., Bun Shell took inspiration from zx[0], dax[1] and bnx[2]
[0]: https://github.com/google/zx
[1]: https://github.com/dsherret/dax
[2]: https://github.com/wobsoriano/bnx
- Zx: A tool for writing better scritps
-
My script to install husky, commitlint and lint-staged with zx
If you want test it, you can run this script withzx :
-
YavaScript: Write shell scripts in JavaScript/TS instead of bash
I really love writing with zx. https://github.com/google/zx
We have some folks who have gone wild copy-pasting random fancy bash snippets into various developer helpers scripts. Zx did like 90% of that stuff out of the box, without being a pile of chaotic custom bash.
-
Scripting with Go: A Modest Proposal
I ended up using this for my cli scripting needs. https://github.com/google/zx
- And forget about shell scripting in /bin/sh ... I hate to say it, but, this is the middle of 2021 we have react and svelte we need more /etc/shells, we need modern languages all over, we can't do this anymore
What are some alternatives?
shtlang - A toy scripting dynamic imperative programming language.
shelljs - :shell: Portable Unix shell commands for Node.js
golisp - A Scheme-flavored Lisp implemented in Go.
execa - Process execution for humans
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.
Commander.js - node.js command-line interfaces made easy
expr - Expression language and expression evaluation for Go [Moved to: https://github.com/expr-lang/expr]
TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
script - Making it easy to write shell-like scripts in Go
oclif - CLI for generating, building, and releasing oclif CLIs. Built by Salesforce.
cel-go - Fast, portable, non-Turing complete expression evaluation with gradual typing (Go)
deno - A modern runtime for JavaScript and TypeScript.