28
Dune Shell: bash + lisp (adam-mcdaniel.github.io)
submitted 1 month ago* (last edited 1 month ago) by armchair_progamer@programming.dev to c/programming_languages@programming.dev

Dune is a shell designed for powerful scripting. Think of it as an unholy combination of bash and Lisp.

You can do all the normal shell operations like piping, file redirection, and running programs. But, you also have access to a standard library and functional programming abstractions for various programming and sysadmin tasks!

screenshot

top 11 comments
sorted by: hot top controversial new old
[-] Trigger2_2000@sh.itjust.works 5 points 1 month ago

Just because you can do something, doesn't mean you should do it.

[-] Sanctus@lemmy.world 2 points 1 month ago

Might swap Kitty for this on my next install >.>

[-] Daeraxa@lemmy.ml 8 points 1 month ago

But Kitty is 'just' the emulator right? It doesn't have a shell by itself.

[-] Sanctus@lemmy.world 3 points 1 month ago

Yeah it is just my terminal emulator and this is specifically a bash+lisp shell. That wouldnt prevent me from attempting to use it the same on my first try like the special boi I am.

[-] Daeraxa@lemmy.ml 4 points 1 month ago

So you can keep Kitty, just swap the shell you have it start by default (probably not a good idea to swap to this system-wide)

[-] Sanctus@lemmy.world 0 points 1 month ago

I know just enough about Linux (arch BTW) to get myself in trouble so idk if that would be a good idea.

[-] Feyd@programming.dev 4 points 1 month ago

Kitty is the terminal emulator, the program that provides an interface. The shell you are using if you haven't changed anything is probably bash. So you would use duneshell instead of bash, but still in kitty

[-] Sanctus@lemmy.world 2 points 1 month ago

Hell yeah, doing this right now on my work laptop.

[-] Sanctus@lemmy.world 1 points 1 month ago

Update: borked my install, can't open shells. Also dont remember root so live image to the rescue.

[-] cosmicbytes@programming.dev 2 points 1 month ago* (last edited 1 month ago)

This sounds very similar to "rash" which is based on racket

The name conflicts with the build tool used for ocaml, which is also called dune.

[-] jerkface@lemmy.ca 1 points 1 month ago

Pros and cons vs eshell?

this post was submitted on 18 Sep 2024
28 points (100.0% liked)

Programming Languages

1160 readers
2 users here now

Hello!

This is the current Lemmy equivalent of https://www.reddit.com/r/ProgrammingLanguages/.

The content and rules are the same here as they are over there. Taken directly from the /r/ProgrammingLanguages overview:

This community is dedicated to the theory, design and implementation of programming languages.

Be nice to each other. Flame wars and rants are not welcomed. Please also put some effort into your post.

This isn't the right place to ask questions such as "What language should I use for X", "what language should I learn", and "what's your favorite language". Such questions should be posted in /c/learn_programming or /c/programming.

This is the right place for posts like the following:

See /r/ProgrammingLanguages for specific examples

Related online communities

founded 1 year ago
MODERATORS