[x3d-public] working on JavaScript SAI example, without an SAI

Andreas Plesch andreasplesch at gmail.com
Mon Jan 13 13:57:48 PST 2020


On Mon, Jan 13, 2020 at 4:40 PM John Carlson <yottzumm at gmail.com> wrote:
>
> Ant build script (All found on X3D sourceforge project):
>
> www.web3d.org/x3d/stylesheets/node/build.xml
>
> (recommend "all" target). In that folder, run
>
> ant all to compile and run the test, but first, look at hand generated example:
>
> Example for those creating the node.js SAI library: (very buggy)
> www.web3d.org/x3d/stylesheets/node/examples/HelloWorldProgramOutput.js
>
> Code that ultimately needs work:
>
> www.web3d.org/x3d/stylesheets/node/JavaScriptSerializer.js
>
> Discussion:
> Does this look like a good style in the examples file?
> Does the style match the standard JavaScript SAI?
> What is needed to standardize JavaScript SAI for X3Dv4?
> How fast can we get a Hello World roundtrip working?
>
> This is primarily a build integration release.  Please integrate the build.xml all target with the stylesheets build.xml.  Thanks, Don!
>
> Don, I see your way ahead of me, integrating this into everything.
>
> Can someone point me at a working JavaScript SAI?

The Javascript SAI is standardized. x_ite has a SAI which follows the
standard closely:
http://create3000.de/users-guide/ecmascript-object-and-function-definitions/

http://create3000.de/x_ite/accessing-the-external-browser/ has an example.

But I think you mean something else.

>
> Thanks,
>
> John



-- 
Andreas Plesch
Waltham, MA 02453



More information about the x3d-public mailing list