Uiua — an extremely terse programming langauge (www.uiua.org)
from moonpiedumplings@programming.dev to programming@programming.dev on 27 Feb 03:07
https://programming.dev/post/46403010

Sample with fibonacci:

⍥◡+9∩1 is the fibonacci in this language

#programming

threaded - newest

Sibbo@sopuli.xyz on 27 Feb 03:54 next collapse

Looks like a write-only language to me.

ignirtoq@feddit.online on 27 Feb 04:19 next collapse

This looks like someone took regular expressions, expanded them to a full programming language, and used Unicode to deal with the explosion of required symbols. I have a hard enough time reading my own regular expressions. I can’t imagine writing full programs like this.

maegul@lemmy.ml on 27 Feb 05:06 next collapse

I tried to go through the tutorial a year or so ago.

I can’t recall when, but there’s a point at which doing something normal/trivial in an imperative language requires all sorts of weirdness in Uiua. But they try to sell it as especially logical while to me they came off as completely in a cult.

It’s this section, IIRC: www.uiua.org/tutorial/More Argument Manipulation#…

When they declare

And there you have it! A readable syntax juggling lots of values without any names!

For

×⊃(+⊙⋅⋅∘|-⊃⋅⋅∘(×⋅⊙⋅∘)) 1 2 3 4

Which, if you can’t tell, is equivalent to

f(a,b,c,x) = (a+x)(bx-c)

With arguments 1, 2, 3, 4.

I wanted to like this, and have always wanted to learn APL or J (clear influences). But I couldn’t take them seriously after that.

Dunstabzugshaubitze@feddit.org on 27 Feb 06:42 next collapse

polish notation is fine, but the need to get rid of argument names is beyond me, and i don’t really get the need for the fork-operator, that thing seems redundant.

PabloSexcrowbar@piefed.social on 27 Feb 06:57 collapse

Jesus, it’s like someone took Brainfuck way too seriously.

maegul@lemmy.ml on 27 Feb 08:04 collapse

I mean kinda, yea … “brainfuck but good actually” Is probably a succinct way of putting the idea.

duckythescientist@sh.itjust.works on 27 Feb 07:31 next collapse

It’s evaluated right to left, but modifiers are to the left of the functions. I feel like they were specifically trying to be difficult.

_Lory98_@discuss.tchncs.de on 27 Feb 10:19 next collapse

Looks like an interesting project, but I can’t understand what’s the advantage of using weird symbols.

PumaStoleMyBluff@lemmy.world on 27 Feb 15:55 collapse

Mostly so that all the built in keywords, control flow, and standard library are all “one character”

Aatube@thriv.social on 27 Feb 15:30 next collapse

google APL

TehPers@beehaw.org on 27 Feb 17:00 collapse

Is this an esolang? Could be nice for code golf maybe.