<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;"><div>Hi Folks,<br></div><div><br></div><div>Ignore if you are busy.<br></div><div><br></div><div>I am coding some with PEGParser and it appears that something called a ParserTree is a collection of nested collections of nested collections....all the way down .<br></div><div><br></div><div>That, presumably gives the tree.<br></div><div><br></div><div>The interesting question, is "how using Smalltalk Collection messages do you implement the various Tree traversal strategies?"<br></div><div><br></div><div><br></div><div>I see Ducasse has written a bit on it <a href="http://stephane.ducasse.free.fr/FreeBooks/InsideST/InsideSmalltalkNoOCRed.pdf" target="_blank">http://stephane.ducasse.free.fr/FreeBooks/InsideST/InsideSmalltalkNoOCRed.pdf</a><br></div><div><br></div><div>Again, feel free to ignore; I don't want to waste your time, I just think its really cool that Collections can act as a Tree (back in the C days, I believe they where all pointers to this and that)<br></div><div><br></div><div>cheers,<br></div><div><br></div><div>tty</div><div><br></div><div><br></div><div><br></div><div><br></div></div><br></body></html>