shh
fs_playground
shh | fs_playground | |
---|---|---|
6 | 2 | |
261 | 0 | |
- | - | |
5.1 | 8.3 | |
5 months ago | 3 days ago | |
Haskell | Jupyter Notebook | |
- | - |
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.
shh
-
Shh: Simple Shell Scripting from Haskell
shh is a really cool package, and so is turtle and shelly:
https://hackage.haskell.org/package/turtle/docs/Turtle-Tutor...
https://hackage.haskell.org/package/shelly
shh's "Alternatives" section summarises nicely some of the differences between these:
https://github.com/luke-clifton/shh#alternatives
shh has a neat [fmt| ... |] macro that gets you around escaping strings.
shh generally has more Template Haskell support; you may or may not like this.
I am personally leaning towards shh because of its "native pipe style".
- Shellcheck finds bugs in your shell scripts
-
What are the disadvantages of using an interactive shell based on a regular programming language (python, scheme's scsh, etc) vs. bourne shell and bash?
There exist hybrids, where general purpose languages are somehow coerced into shells by adding syntactic sugar or removing features. Xonsh and shh come to mind, respectively for Python and Haskell.
fs_playground
-
Advent of Code 2023 is nigh
Perhaps for some puzzles, but I find this solution to be pretty elegant!
https://github.com/williamcotton/fs_playground/blob/ffbc57ac...
-
Shh: Simple Shell Scripting from Haskell
Huh, I was just tinkering with the same sort of thing with the same motivations but with F#:
https://github.com/williamcotton/fs_playground/blob/main/Scr...
Thanks for this, I’m going to borrow a lot of your concepts, especially the added infix operators, those are slick!
What are some alternatives?
bach - Bach Testing Framework
advent_of_code_ex - Advent of Code solutions in Elixir, and a bunch of musings on them.
dagger - Application Delivery as Code that Runs Anywhere
tanenbaum - OCaml Advent of Code starter project
oil - Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!
xonsh - :shell: Python-powered, cross-platform, Unix-gazing shell.
shellcheck-gitlab-ci-scripts-hook
swift-interpreter - Build an interpreter in Swift
clutch - Run Swift scripts that depend on packages
advent-of-code
strictbash - Enable Bash "strict mode" & run shellcheck via a shebang
regex - An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.