<div dir="ltr">I think this might take a PhD.  Here why:<div><br></div><div>1.  I generate from JSON and XML</div><div>2.  I generated many languages</div><div>3.  I have a style of including SF/MF in serializers or not</div><div>4.  I have a style of flat code and hierarchical code</div><div>5.  I've customized each serial.</div><div><br></div><div>So I'm thinking this might take a generic class with several type parameters?</div><div><br></div><div>Any PhD's care to help me design this generator of generators?</div><div><br></div><div>Thanks,</div><div><br></div><div>John</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 20, 2020 at 3:37 AM John Carlson <<a href="mailto:yottzumm@gmail.com">yottzumm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I've got all these serialzers. I'm going to try to take the next step, and code generate the serializers!<div><br></div><div>Is anyone code generating XSLT?</div><div><br></div><div>Thanks,</div><div><br></div><div>John</div><div><br></div><div>$ find pythonSAI/ x* X* /c/x3d-code/<a href="http://www.web3d.org/" target="_blank">www.web3d.org/</a> -type f -name '*Serializer*'|less|grep -v html |grep -v .log|grep -v backup|grep -v cplusplus<br>pythonSAI/PythonSerializer.js<br>x3droundtrip/DOMSerializer.js<br>x3dserve/DOM2JSONSerializer.js<br>X3DJSONLD/src/main/node/AframeSerializer.js<br>X3DJSONLD/src/main/node/DOM2JSONSerializer.js<br>X3DJSONLD/src/main/node/DOMSerializer.js<br>X3DJSONLD/src/main/node/JavaScriptSerializer.js<br>X3DJSONLD/src/main/node/JavaSerializer.js<br>X3DJSONLD/src/main/node/JSONSerializer.js<br>X3DJSONLD/src/main/node/NodeSerializer.js<br>X3DJSONLD/src/main/node/PythonSerializer.js<br>X3DJSONLD/src/main/node/StripNumberSerializer.js<br>X3DJSONLD/src/main/node/Three2Serializer.js<br>X3DJSONLD/src/main/node/ThreeSerializer.js<br>X3DJSONLD/src/main/node/VRMLScriptSerializer.js<br>X3DJSONLD/src/main/node/X_ITESerializer.js<br>/c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets/java/nashorn/node/JavaScriptSerializer.js" target="_blank">www.web3d.org/x3d/stylesheets/java/nashorn/node/JavaScriptSerializer.js</a><br>/c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets/java/src/python/pyjnius/PythonPipeliningSerializer.js" target="_blank">www.web3d.org/x3d/stylesheets/java/src/python/pyjnius/PythonPipeliningSerializer.js</a><br>/c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets/java/src/python/pyjnius/PythonSerializer.js" target="_blank">www.web3d.org/x3d/stylesheets/java/src/python/pyjnius/PythonSerializer.js</a><br>/c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets/java/src/python/pythonapi/PythonAssignSerializer.js" target="_blank">www.web3d.org/x3d/stylesheets/java/src/python/pythonapi/PythonAssignSerializer.js</a><br>/c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets/java/src/python/pythonapi/PythonKwargsSerializer.js" target="_blank">www.web3d.org/x3d/stylesheets/java/src/python/pythonapi/PythonKwargsSerializer.js</a><br>/c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets/java/src/python/pythonapi/PythonPipeliningSerializer.js" target="_blank">www.web3d.org/x3d/stylesheets/java/src/python/pythonapi/PythonPipeliningSerializer.js</a><br>/c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets/java/src/python/pythonapi/PythonSerializer.js" target="_blank">www.web3d.org/x3d/stylesheets/java/src/python/pythonapi/PythonSerializer.js</a><br>/c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets/node/JavaScriptSerializer.js" target="_blank">www.web3d.org/x3d/stylesheets/node/JavaScriptSerializer.js</a><br>/c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets/node/JavaScriptSerializer.js.new" target="_blank">www.web3d.org/x3d/stylesheets/node/JavaScriptSerializer.js.new</a><br>/c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets/node/JavaScriptSerializer.old" target="_blank">www.web3d.org/x3d/stylesheets/node/JavaScriptSerializer.old</a><br>/c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets/node/NodeSerializer.js" target="_blank">www.web3d.org/x3d/stylesheets/node/NodeSerializer.js</a><br>/c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets/vrmlscript/VRMLScriptSerializer.js" target="_blank">www.web3d.org/x3d/stylesheets/vrmlscript/VRMLScriptSerializer.js</a><br>/c/x3d-code/<a href="http://www.web3d.org/x3d/tools/X3dEdit3.3/X3D/src/org/web3d/x3d/externals/stylesheets/java/nashorn/node/JavaScriptSerializer.js" target="_blank">www.web3d.org/x3d/tools/X3dEdit3.3/X3D/src/org/web3d/x3d/externals/stylesheets/java/nashorn/node/JavaScriptSerializer.js</a><br>/c/x3d-code/<a href="http://www.web3d.org/x3d/tools/X3dEdit3.3/X3D/src/org/web3d/x3d/externals/stylesheets/java/src/python/pyjnius/PythonPipeliningSerializer.js" target="_blank">www.web3d.org/x3d/tools/X3dEdit3.3/X3D/src/org/web3d/x3d/externals/stylesheets/java/src/python/pyjnius/PythonPipeliningSerializer.js</a><br>/c/x3d-code/<a href="http://www.web3d.org/x3d/tools/X3dEdit3.3/X3D/src/org/web3d/x3d/externals/stylesheets/java/src/python/pyjnius/PythonSerializer.js" target="_blank">www.web3d.org/x3d/tools/X3dEdit3.3/X3D/src/org/web3d/x3d/externals/stylesheets/java/src/python/pyjnius/PythonSerializer.js</a><br></div></div>
</blockquote></div>