Is there a way in a message-only language to define a whileTrue message without recursion or compile

Posted by Richard Durr on Stack Overflow See other posts from Stack Overflow or by Richard Durr
Published on 2010-03-23T14:02:51Z Indexed on 2010/03/27 17:03 UTC
Read the original article Hit count: 196

Filed under:

Smalltalk has the whileTrue:-Message implemented through recursion (in VisualWorks) or through compiler-inlining (in Squeak/Pharo). Is there a way to define such a method without using one of them? If not, is there a proof for that avaiable somewhere?

© Stack Overflow or respective owner

Related posts about smalltalk