Multistack Concatenative Programming Languages

9 points by intarga


fanf

This reminds me of a long time ago when I toyed with an idea for an esoteric stack language.

I started with the observation that it seems wasteful to have two stacks, a value stack and a return stack. Why not make return addresses into first class values, put them on the value stack, and get rid of the return stack? (Well, obviously they would get in the way, but this is an esoteric language so it isn’t supposed to be convenient.) First class return addresses sounds a bit like continuations, so why not make the stack into a chain of cons cells, then we can make it into a cactus stack, and we can capture the stack pointer as a first class value as well. (Somewhat inspired by my previous messing around with combinator graph reduction.)

It never went very far because I wasn’t sure what I might use it for, or if it was silly enough to be interesting in its own right :-)

darkkindness

Oh yeah, whatever happened to Dawn?