mission-control icon indicating copy to clipboard operation
mission-control copied to clipboard

Rewrite the wrapper in a saner programming language

Open srid opened this issue 2 years ago • 5 comments

Use something like https://www.nushell.sh/ instead of bash

Aim for facilitating resolution of #28, #4, #32 and the like.

srid avatar Apr 27 '23 19:04 srid

I think koka is a good candidate for this use case. It's minimal but statically typed, and has a complete language spec. The language is expressive enough to solve algorithmic problems but also comes with libraries for shell scripting needs.

akirak avatar May 28 '23 08:05 akirak

Rewrite the wrapper

Or we would just (no pun intended) write a just backend for mission-control: https://github.com/casey/just

srid avatar Jul 19 '23 20:07 srid

Rewrite the wrapper

Or we would just (no pun intended) write a just backend for mission-control: https://github.com/casey/just

Or just use just: db46f39d46aacc289e1b054d830c3fe8ffdb3451

srid avatar Jul 26 '23 18:07 srid

Or just use just

Wrapping just so a justfile is available only inside a devshell (via --justfile option)? It would be useful to generate the justfile from Nix to provide Nix dependencies.

akirak avatar Jul 26 '23 22:07 akirak

You can provide those Nix dependencies in the Nix shell.

A just DSL is Nix is a viable idea, but it should have to be possible to replicate all of its features (*ARGS for example, or parallel processes when they add that in future) without having the user to learn more syntax.

srid avatar Jul 26 '23 23:07 srid