The Concatative Language XY

Posted by ofalkaed 7 hours ago

Counter41Comment12OpenOriginal

Comments

Comment by wvlia5 14 minutes ago

I'm making a new language inspired in XY

Comment by ofalkaed 7 hours ago

The code and details about various versions are available on the homepage which weirdly does not really explain the language.

http://www.nsl.com/k/xy/xy.htm

Comment by nitrix 22 seconds ago

I’m the Alex mentioned in the acknowledgments, feel free to ask your questions.

Comment by mncharity 2 minutes ago

Including discussion of XY 2.0 and its flatness (all partitions of a sequence of program tokens are semantically equivalent).

Comment by jasonwatkinspdx 3 hours ago

So this is the blog of Stevan Apter. As you might guess from having a 3 letter vanity domain, he and this website have been around a long long time. It's mostly code golf style stuff posted to the J Software and Concatenative Languages lists. So yeah it'll be terse and obscure outside that community.

The domain name stands for No Stinkin' Loops, a reference to how APL style languages lift iteration to combinator expressions.

Comment by ofalkaed 3 hours ago

I did not know any of that, did not even consider if it was a vanity domain but did briefly wonder if nsl was the domain for some small country. I think the homepage does a good job of covering everything we need to know and in someways does a better job, but this posting provides a better overview for a HN submission. I included the homepage since some would probably skim the post or only read as much as they need to get the idea and miss the note at the bottom, someone would have probably posted asking where the code was.

Thanks for the background info.

Comment by tobr 4 hours ago

Submitted headline is missing an ’en’.

Comment by ofalkaed 3 hours ago

Something about that looked wrong but I just could not quite see it. To late to edit.

Comment by volemo 5 hours ago

This helped me finally grok continuations!

Comment by zabzonk 2 hours ago

So, basically a less-readable Forth?

Comment by jaberjaber23 6 hours ago

interesting mix of k and joy. the queue manipulation primitives like -> and => have no equivalent in joy, lets you do things like call/cc in a few lines

Comment by wosined 6 hours ago

Interesting. But looks like assembler and more complicated.