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

Programming Languages

1159 readers
7 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
28
Dune Shell: bash + lisp (adam-mcdaniel.github.io)
submitted 2 weeks ago* (last edited 2 weeks ago) by [email protected] to c/[email protected]
 

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
[–] [email protected] 5 points 2 weeks ago

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

[–] Sanctus 2 points 2 weeks ago (2 children)

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

[–] [email protected] 8 points 2 weeks ago (1 children)

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

[–] Sanctus 3 points 2 weeks ago (1 children)

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.

[–] [email protected] 4 points 2 weeks ago (1 children)

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 0 points 2 weeks ago

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

[–] [email protected] 4 points 2 weeks ago (1 children)

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 2 points 2 weeks ago (1 children)

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

[–] Sanctus 1 points 2 weeks ago

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

[–] [email protected] 2 points 2 weeks ago* (last edited 2 weeks 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.

[–] [email protected] 1 points 2 weeks ago

Pros and cons vs eshell?