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!

5 points

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

permalink
report
reply
2 points

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

permalink
report
reply
7 points

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

permalink
report
parent
reply
3 points

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.

permalink
report
parent
reply
4 points

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)

permalink
report
parent
reply
4 points

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

permalink
report
parent
reply
2 points

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

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply
2 points
*

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.

permalink
report
reply
1 point

Pros and cons vs eshell?

permalink
report
reply

Programming Languages

!programming_languages@programming.dev

Create post

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:

  • “Check out this new language I’ve been working on!”
  • “Here’s a blog post on how I implemented static type checking into this compiler”
  • “I want to write a compiler, where do I start?”
  • “How does the Java compiler work? How does it handle forward declarations/imports/targeting multiple platforms/<other tricky feature>?”
  • “How should I test my compiler? How are other compilers and interpreters like gcc, Java, and python tested?”
  • “What are the pros/cons of <language feature>?”
  • “Compare and contrast <language feature> vs. <other feature>”
  • “Confused about the semantics of this language”
  • “Proceedings from PLDI / OOPSLA / ICFP / <other large programming conference>”

See /r/ProgrammingLanguages for specific examples

Related online communities

Community stats

  • 2

    Monthly active users

  • 272

    Posts

  • 327

    Comments