May 1, 2010
2:41 a.m.
2010/4/29 Torsten Bergmann <astares@gmx.de>:
Hi Serge,
nice demo! Looking through the slides in "Build you own control structure" you use #ifSeven: as example which is easy, but not a "real world use case".
I typically use another example:
In a few languages you have a "REPEAT (block) UNTIL (cond)" control structure (in Pascal for instance) which is easy to add to Smalltalk with a #repeatUntil: method on BlockClosure.
Yes your example is nice. Thank you Torsten, for your comment. -- Serge Stinckwich UMI UMMISCO 209 (IRD/UPMC), Hanoi, Vietnam Every DSL ends up being Smalltalk http://doesnotunderstand.org/