Peter Lewerin (2004-01-26): Watch this space for an unorthodox, radical, contrastandard, and hopefully interesting variant of Tcl...
The > is the interpreter prompt;
(1) > 2 3 4 4 3 2 (2a) > 2 3 4 + 7 2 (2b) > 2 3 + 4 7 2 (3a) > 2 3 + ; 4 4 5
Care to guess? Should be easy thus far.
RS: Should the third example not rather come out as "7 2"? So far this looks most like Forth to me...
(PL): Yes, error in transcription on my part, corrected now. Forth is a good clue, but how about this:
(3b) > 2 + 3 4 4 5 (4) > + 2 3 4 error: must have at least one result to work with (5) > 2 2 > + 3 4 4 5 > + 3 4 4 7 5
RS: so binary operators work either infix or postfix (RPN), and the stack is returned, top at left? And shouldn't the last be 4 8 5?