[x3d-public] TypeScript SAI

John Carlson yottzumm at gmail.com
Wed Jan 15 16:55:34 PST 2020


Note that X3dToES5.xslt is checked into sourceforge.  Thanks.

John

On Wed, Jan 15, 2020 at 11:20 AM Don Brutzman <brutzman at nps.edu> wrote:

> On 1/14/2020 9:42 PM, John Carlson wrote:
> > This email thread is for discussions of TypeScript for X3D.
> >
> > Thanks,
> >
> > John
>
>  From Wikipedia:
> "TypeScript is an open-source programming language developed and
> maintained by Microsoft. It is a strict syntactical superset of JavaScript,
> and adds optional static typing to the language."
>
> https://en.wikipedia.org/wiki/TypeScript
>
> I do not see ISO or ECMA anywhere in there, so the language appears to be
> proprietary with open-source implementation.
>
> The fact that it extends EcmaSCript (JavaScript) version 6 means that, if
> we indeed create a pure JavaScript library for X3D, then we might add some
> syntactic sugar as needed for supporting TypeScript as well.  Similar
> switches could be added to extend an X3dToJavaScript.xslt library as an
> X3dToTypeScript.xslt converter.  I'd recommend minimizing any differences
> to support long-term maintainability.
>
> It is worth looking at and supporting both languages in tandem as part of
> our open-source X3D implementations.  Possibly the TypeScript additions
> will become part of future EcmaScript standard, and possibly their design
> capabilities for large-scale applications will aid in our quality assurance
> (QA) of the Javascript library itself.
>
> Have fun with X3D!  8)
>
> all the best, Don
> --
> Don Brutzman  Naval Postgraduate School, Code USW/Br
> brutzman at nps.edu
> Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
> X3D graphics, virtual worlds, navy robotics
> http://faculty.nps.edu/brutzman
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20200115/506336f4/attachment.html>


More information about the x3d-public mailing list