28
Dune Shell: bash + lisp (adam-mcdaniel.github.io)
submitted 2 months ago* (last edited 2 months 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 2 months ago

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

[-] Sanctus@lemmy.world 2 points 2 months ago

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

[-] Daeraxa@lemmy.ml 8 points 2 months ago

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

[-] Sanctus@lemmy.world 3 points 2 months 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 2 months 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 2 months 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 2 months 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 2 months ago

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

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

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

[-] cosmicbytes@programming.dev 2 points 2 months ago* (last edited 2 months 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 2 months 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