<div dir="auto">Really? See: <div><a href="https://web.dev/articles/emscripten-embedding-js-snippets">https://web.dev/articles/emscripten-embedding-js-snippets</a></div></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 4, 2024 at 8:28 PM Myeong Won Lee <<a href="mailto:myeongwonlee@gmail.com">myeongwonlee@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="ltr"><div dir="ltr">Dear John,<br><br>I am sorry for my late reply.<br><br>I don't think that we can include the CDATA section of JavaScript in C++ because we cannot mix JavaScript and C++.<br>Rather, I would suggest that the CDATA section be converted to a C++ method. <br></div><div dir="ltr"><br></div><div>Sincerely,</div><div><br></div><div>Myeong</div></div><div dir="ltr"><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 5, 2024 at 8:14 AM John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="auto">I haven’t heard a response?</div><div dir="auto"><br></div><div dir="auto">Is there some way of translating X3D XML CDATA (script) sections to a C++ standard, instead of something Microsoft specific? How do I embed JavaScript in C++?</div><div dir="auto"><br></div><div dir="auto">Thanks,</div><div dir="auto"><br></div><div dir="auto">John</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Apr 6, 2024 at 4:36 AM John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="ltr"><div dir="ltr">Should CPPON (C++ Object Notation) support embedded Script and Shader CDATA sections?<br></div><div dir="ltr"><br></div><div>C++ SAI examples supports (JavaScript) scripting by wrapping CDATA section lines in _T() macros, I gather. This seems to be Microsoft specific? Should I adopt URLs for CDATA sections/Scripting in CPPON?</div><div><br></div><div>What's the best standard for including scripts in C++ code?</div><div><br></div><div>Thanks!</div></div><div dir="ltr"><div><br></div><div>John</div></div>
</blockquote></div></div>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><p class="MsoNormal" align="left" style="margin-bottom:0cm;line-height:10pt;background-image:initial;background-position:initial;background-repeat:initial;word-break:keep-all"><font size="1" face="georgia, serif" style="font-family:georgia,serif;color:rgb(0,0,0)">Myeong Won Lee, PhD, CEO</font></p><p class="MsoNormal" align="left" style="margin-bottom:0cm;line-height:10pt;background-image:initial;background-position:initial;background-repeat:initial;word-break:keep-all"><font size="1" face="georgia, serif" style="font-family:georgia,serif;color:rgb(0,0,0)">VRSTA Inc.</font></p><p class="MsoNormal" align="left" style="margin-bottom:0cm;line-height:10pt;background-image:initial;background-position:initial;background-repeat:initial;word-break:keep-all"><font face="georgia, serif" style="font-family:georgia,serif;color:rgb(0,0,0)"><font size="1" style="font-family:georgia,serif;color:rgb(0,0,0)"><a href="https://www.google.com/maps/search/GwangPyeong-ro+56-Gil+8-13,%C2%A0+Gangnam-gu,+Seoul,+06367,+Korea?entry=gmail&source=g" style="font-family:georgia,serif">GwangPyeong-ro 56-Gil 8-13, </a></font><span style="font-size:x-small;font-family:georgia,serif"><a href="https://www.google.com/maps/search/GwangPyeong-ro+56-Gil+8-13,%C2%A0+Gangnam-gu,+Seoul,+06367,+Korea?entry=gmail&source=g" style="font-family:georgia,serif">Gangnam-gu, Seoul, 06367, Korea</a></span></font></p><p class="MsoNormal" align="left" style="margin-bottom:0cm;line-height:10pt;background-image:initial;background-position:initial;background-repeat:initial;word-break:keep-all"><font size="1" face="georgia, serif" style="font-family:georgia,serif;color:rgb(0,0,0)">E-mail) <a href="mailto:myeongwonlee@gmail.com" target="_blank" style="font-family:georgia,serif">myeongwonlee@gmail.com</a>, <a href="mailto:mwlee@suwon.ac.kr" target="_blank" style="font-family:georgia,serif">mwlee@suwon.ac.kr</a></font></p></div></div></div></div></div></div></div></div>
</blockquote></div></div>