In every programming language I've ever heard of, program control flows left→right and then top→bottom. That is, this psudo code:

{ print "1" } { print "a" }
{ print "2" } { print "b" }
{ print "3" } { print "c" }

would print 1a2b3c

Are there any languages (even eso-langs/DSLs) that invert that order, so that the above would print 123abc?

It occurs to me that a left-to-right control flow would be a good fit for a lot of "pipeline" type data work, and I'm curious if anyone has tried it

Follow

@codesections I know (from a video on the subject, not personal experience) that the Sega Saturn had a video chip that would execute six assembly instructions in parallel and thus you would write code more or less like that with each column being its own quasi execution chain. Apparently it was *very* difficult to use properly and thus contributed to the system's downfall.

Sign in to participate in the conversation
Fosstodon

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.