shtlang
A toy scripting dynamic imperative programming language. (by renatopp)
script
Making it easy to write shell-like scripts in Go (by bitfield)
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
shtlang
Posts with mentions or reviews of shtlang.
We have used some of these posts to build our list of alternatives
and similar projects.
-
Designing a SHT Language
If you are interested, check the repository in github. Feel free to contact me for any question or discussion :)
script
Posts with mentions or reviews of script.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-08-21.
-
GNU Parallel, where have you been all my life?
I use Go. You can run scripts with go run directly, and this package makes shell tasks easy: https://github.com/bitfield/script
-
Scripting with Go: A Modest Proposal
If you're not deeply familiar with Go there is one detail missing from this post (though it's in the script README) - what a complete program looks like. Here's the example from https://github.com/bitfield/script#a-realistic-use-case
package main
- 'script' is for writing shell-like pipelines in Go
- script
-
Some Useful Patterns for Go's os/exec
Imho also worth mentioning: https://github.com/bitfield/script
-
Is there anything golang similar to python plumbum?
I would say bitfield/script is the closest thing to plumbum. You should check out this article written by the author.
-
Change go code behaviour at runtime
There are lua and Go-script options. My impression is that a few are well accepted but perhaps just a little less widely used than the first two. I cannot speak from personal experience on them. Shopify has a Lua 5.2 port: https://github.com/Shopify/go-lua and I know https://github.com/bitfield/script is one of the Go-like scripting languages, but I think it's more for a shell script replacement than embedding.
-
Planning to learn Go, does it have this feature?
Parallel to my other comment, u/Akirapearl, if you find yourself getting annoyed at Go’s system-language focus, you might find John’s “script” Go library useful: https://github.com/bitfield/script
- DevOps Junior, Why is BASH something I need to learn?
-
Scripting with Go
It took me a while to find the link to the library "script" and it's repo - https://github.com/bitfield/script