<div><div dir="auto">Perhaps I haven’t been clear. I see my position @ Web3d as a tester, thus I expect to collaborate with other stakeholders to create test cases or example behaviors we want the system to perform.</div></div><div dir="auto"><br></div><div dir="auto">We have abundant XML that I can generate test cases from. I’m not generating code out of the blue. I have a goal of generating code out of the blue, but that’s a long term goal. This would be done to do code coverage.</div><div dir="auto"><br></div><div dir="auto">I accidentally fell into a library writer position when we got to python.</div><div dir="auto"><br></div><div dir="auto">I added my JSONParser to the browsers because no one was doing it, and I needed a real environment to test in.</div><div dir="auto"><br></div><div dir="auto">I don’t see anything wrong with generating different versions of HelloWorld.js.</div><div dir="auto"><br></div><div dir="auto">I resign from library development. If someone wants me to develop test cases for x3d4 or HAnim, I will do that. Thanks to Joe for pointing me there.</div><div dir="auto"><br></div><div dir="auto">As a tester, I build code that I assert will not work, or I check the XML to see if the scene is supposed to fail.</div><div dir="auto"><br></div><div dir="auto">The test cases for node are currently failing big time, I know. I know I use methods instead of array access. That needs to be fixed. There are properties in the SAI I haven’t really spotted in the X3DUOM, so perhaps I need to look harder. I need to add route methods to my serializer.</div><div dir="auto"><br></div><div dir="auto">John</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 24, 2020 at 8:23 PM John Carlson <<a href="mailto:yottzumm@gmail.com">yottzumm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="auto">Design goal: add existing X3D ecmascript SAI to HTML5 (chrome) and node.js</div></div><div dir="auto"><br></div><div dir="auto">I tend to work from examples rather than specifications. Once we have our test cases, we can start coding the library, using “test driven development.” or “behavior driven development.”</div><div dir="auto"><br></div><div dir="auto">We will build an npm environment, probably using webpack and yarn, and a suitable test framework. Then I will start coding tests using the test framework. I believe we can use phantomjs or similar to run test cases in.</div><div dir="auto"><br></div><div dir="auto">I will look for the Transform example.</div><div dir="auto"><br></div><div dir="auto">Good news is I’m saving enough money on “shelter in place “ to afford a Web3d membership.</div><div dir="auto"><br></div><div dir="auto">John</div><div dir="auto"><br></div><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 24, 2020 at 7:44 PM Don Brutzman <<a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 3/24/2020 3:48 PM, John Carlson wrote:<br>
> It seems like you have issues with the “generate first” approach. [...]<br>
<br>
Yes. Don't do that. Don't even bother thinking about that.<br>
<br>
Please look again at what I wrote. You need specific design goals first.<br>
<br>
all the best, Don<br>
-- <br>
Don Brutzman Naval Postgraduate School, Code USW/Br <a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a><br>
Watkins 270, MOVES Institute, Monterey CA 93943-5000 USA +1.831.656.2149<br>
X3D graphics, virtual worlds, navy robotics <a href="http://faculty.nps.edu/brutzman" rel="noreferrer" target="_blank">http://faculty.nps.edu/brutzman</a><br>
</blockquote></div></div>
</blockquote></div></div>