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

Programming Languages

1184 readers
1 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 1 month ago* (last edited 1 month ago) by armchair_progamer to c/programming_languages
 

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 1 month ago

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

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

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

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

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

[–] [email protected] 3 points 1 month 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 1 month 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)

[–] [email protected] 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 4 points 1 month 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

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

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

[–] [email protected] 1 points 1 month ago

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

[–] cosmicbytes 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.

[–] [email protected] 1 points 1 month ago

Pros and cons vs eshell?