[x3d-public] Progress on es6 proto expander

John Carlson yottzumm at gmail.com
Fri May 22 15:41:33 PDT 2020


Made progress on es6 proto expander today.   Implemented deep expand on all
classes.   Fixed enum testing to handle use=“required”    If not required
log, else return null.   Should throw an exception.  Example scenegraph
copied correctly.

Next steps:   Copy ProtoBody child into ProtoInstance slots.   Create a
visitor pattern to pass around global classes, or create a singleton for
declarations and scoping items.   No surprises yet.

Desired:   JSON reader or XML reader so we don’t need X3dToES6.xslt.
Contributions?   Give us your method names, then start hacking on
packageGenerator.py in www.web3d.org/x3d/stylesheets/es6 on sourceforge.

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20200522/e8550ee2/attachment.html>


More information about the x3d-public mailing list