<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=EN-US><div class=WordSection1><p class=MsoNormal>In this message, I am proposing 2 new X3D encodings, specifically Python dict and Java Object array encodings. These provide relatively library type-free declarative encodings in specific languages, so that authors have a choice to use their own imperative language to specify a compiled scenegraph in a declarative way without type explosion and instead of bringing in an additional non-native language like XML or JSON. It may be possible to duplicate this feature in C,C# and C++, but that research has not been done to my knowledge. I have converted XML to Java Object arrays and back, so I know that’s feasible. My understanding of Python dicts is that they are like JSON, so that should be doable as well.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I can generate some “Hello, World” demonstration examples if people are interested. I will base these new encodings on my DOM (XML for Leonard’s sake) -> JSON converter, DOM2JSONSerializer.js or Python’s DOM API (If there’s a DOM-like API), I think, and will be placed under the “X3DLD” banner as I move to more generic loaders than JSON -> DOM. Specifically, I want to develop loaders independent of JSON but in the same vein as JSON until the X3D JSON is standardized.</p><p class=MsoNormal> </p><p class=MsoNormal>Your feedback is welcome!</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Also, here is a call for research into C/C#/C++ native declarative encodings (non-SAI).</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I propose that I start on the Python dict encoding first. Should I use JavaScript or Python as a base language? Can someone point me at Python DOM? Thanks!</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I also propose that X3DJSAIL+converters be extended to produce these 2 encodings after a Proof-of-Concept is created in JavaScript or Python.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Someone who wants to create a renderer for these encodings would be a welcome member to team.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Wishing you a SAI-free life,</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>John Carlson</p><p class=MsoNormal><o:p> </o:p></p></div></body></html>