News for hackers. Stuff that matters.
Re:Klong: a Simple Array Language by nils-m-holm on Sunday December 22, 2019 @06:10AM (#21856497)
While you are using C-style syntax, you are also using "map", which comes pretty close to using vectors in Klong (or K or APL). However, there are many different mapping and folding operstors in array languages, and their combination is what makes these languages terse. For example,

    ,/:~
(Join Over Converging) flattens a list in Klong.

Klong is simple, because its syntax is very regular. In K, many symbols are overloaded, so their meaning can only be deduced when knowing the types of their operands. In Klong, the syntax is unambiguous. See http://t3x.org/klong/ambiguity.html

Regarding precedence rules: there are none. Everything evaluates from the right to the left (as in K or APL).

There are no comments on this comment yet.