Lambda the Ultimate

inactiveTopic Canonware Onyx
started 1/3/2004; 10:55:24 PM - last post 1/7/2004; 6:25:16 AM
Patrick Logan - Canonware Onyx  blueArrow
1/3/2004; 10:55:24 PM (reads: 9053, responses: 4)
Canonware Onyx
Onyx is a powerful stack-based, multi-threaded, interpreted, general purpose programming language similar to PostScript. It can be embedded as an extension language...

Onyx is perhaps the most advanced stack-based general purpose programming language in existence (not that there are many others)...

Stacks are first class objects. This may seem like a basic feature, but neither Forth nor PostScript provide stacks, despite the obvious usefulness in a stack-based language...

access to POSIX system functionality...

Perl-compatible regular expressions...

Onyx's syntax is suitable both for code and data, which means that configuration files and databases can be read, written, and stored as Onyx code.
Posted to general by Patrick Logan on 1/3/04; 10:56:40 PM

water - Re: Canonware Onyx  blueArrow
1/4/2004; 11:24:02 AM (reads: 515, responses: 0)
Joy also has a very easy method of manipulating stacks/code as first-class data, and more algebraic semantics, so I tend to think of it as more advanced than Onyx. However, its author is not practically-minded: Joy just arose out of some experiments with Prolog to work on a "stack-based logical language" (reminiscent of Dynamo). So it's definitely not as easy to work with as Onyx seems to be. I'll have a look through the manual...

Luke Gorrie - Re: Canonware Onyx  blueArrow
1/6/2004; 3:26:37 PM (reads: 315, responses: 0)
First-class stacks, but at a glance it doesn't look like you can swap the operand/context stacks. I thought all new languages had first-class continuations nowadays :-)

Speaking of continuations, I have a historical question: which languages have/had coroutines, and when/why did they fall out of fashion?

Darius Bacon - Re: Canonware Onyx  blueArrow
1/7/2004; 2:44:08 AM (reads: 272, responses: 0)
Simula did; I don't know if there was an earlier high-level language with them, or why they fell out of fashion (though I'd speculate the fashion for threads was to blame).

Luke Gorrie - Re: Canonware Onyx  blueArrow
1/7/2004; 6:25:16 AM (reads: 268, responses: 0)
Next question: where did the fashion for shared-memory threads begin?