<feed xmlns="http://www.w3.org/2005/Atom" xmlns:foaf="http://xmlns.com/foaf/0.1/"><title>norman.walsh.name: Comments on /2007/07/20/implXProcVII</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2007/07/20/implXProcVII"/><id>http://norman.walsh.name/2007/07/20/implXProcVII/comments.atom</id><updated>2012-02-13T08:57:40.074558Z</updated><entry><title>Comment 1 on /2007/07/20/implXProcVII</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2007/07/20/implXProcVII#comment0001"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0001</id><published>2007-07-20T13:55:58Z</published><updated>2007-07-20T13:55:58Z</updated><author><name>John Cowan</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>I think there is nothing at all wrong with having a tree that's close to the syntax and then building another tree that represents what is to be done at execution, nor is there anything wrong with keeping around the syntax tree and having the execution tree look into it (through a well-defined API, of course).
</p>
    <p>
You are writing a compiler/interpreter pair, like Java itself.  The compiler both has a data structure close to Java syntax, and generates a data structure rather far from Java syntax (byte code).  But in addition to byte code, however, various bits of the compiler's model are kept around at runtime, symbol tables and the like, to provide information needed at runtime.  If it weren't for the perceived need for a separable class file, it would be quite plausible for Java execution to use the compiler's data structures directly.</p>
  </div></content></entry><entry><title>Comment 2 on /2007/07/20/implXProcVII</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2007/07/20/implXProcVII#comment0002"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0002</id><published>2007-07-20T20:29:02Z</published><updated>2007-07-20T20:29:02Z</updated><author><name>Ed Davies</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>Interesting, Norm talks about models; John replies by talking about trees.  Does either model happen to be a tree?</p>
  </div></content></entry><entry><title>Comment 3 on /2007/07/20/implXProcVII</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2007/07/20/implXProcVII#comment0003"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0003</id><published>2007-07-20T20:44:37Z</published><updated>2007-07-20T20:44:37Z</updated><author><name>Norman Walsh</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>That's an interesting question. The "top" of the model is the <code>p:pipeline</code> step and it contains an ordered list of children. Some of those children also contained an ordered list of their own children, etc. So I guess they are tree like in that sense.
</p>
    <p>
There are also connections that cross tree boundaries, but if I squint I can think of those as not unlike ID/IDREF links, so I'm not sure that makes the model un-tree-like.
</p>
    <p>
But neither is intentionally a model of a tree.</p>
  </div></content></entry></feed>

