All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

XY: A Concatenative Programming Language Combining K and Joy Concepts

By

ofalkaed

4mo ago· 11 min readenInsight

Summary

XY is a concatenative programming language that combines concepts from the vector language K and concatenative language Joy. It operates on a stack (X) and queue (Y) model where computation proceeds through sequential evaluation steps. The language emphasizes totality of computation, with all operations being total functions that handle all possible inputs without errors. The article explains XY's design principles, syntax, and how it differs from traditional programming paradigms.

Key quotes

· 4 pulled
XY is a direct descendant of the vector language K and the concatenative language Joy.
Computation consists of a sequence of evaluation steps over a pair of objects X and Y. X is the stack, and contains the entirety of what has been computed so far. Y is the queue, and contains the entirety of what remains to be computed.
The principles of XY are: - The totality of the computation
A step consists of taking the next element in the queue and applying it to the stack and the remainder of the queue. The result is a new stack and a new queue.
Snippet from the RSS feed

You might also wanna read