[E-Lang] Draft Kernel-E DTD & Sketch of translation to debuggable Java

Bill Frantz frantz@communities.com
Wed, 27 Sep 2000 15:47:34 -0700


At 03:31 PM 9/27/00 -0700, Dan Bornstein wrote:
>If it were me designing the format (and, again I know it's not), I'd just
>stick with a predefined set of agreed-upon classes at the Java layer. In
>terms of serializing the state of E-written objects, I'd just have an
><object> tag that looked something like this:
>
>    <object>
>      <class>9393821930da43983</class>
>      <iv><name>x</name><int>10</int></iv>
>      <iv><name>y</name><int>22</int></iv>
>    </object>

Perhaps the class id should be sha1(Kernel-E parse tree).toHexString(), or
some such.