Sample with fibonacci:

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

all 11 comments

sorted by: hot top controversial new old
[–] 31 points 5 months ago

Looks like a write-only language to me.

  • source
  • [–] 21 points 5 months ago* (2 children)

    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: https://www.uiua.org/tutorial/More%20Argument%20Manipulation#-planet-notation-

    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.

  • source
  • hideshow 4 child comments
  • [–] 19 points 5 months ago

    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.

  • source
  • [–] 10 points 5 months ago

    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.

  • source
  • [–] 9 points 5 months ago (1 child)

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

  • source
  • hideshow 2 child comments
  • [–] 2 points 5 months ago
    [–] 2 points 5 months ago

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

  • source