[x3d-public] consider renaming local variables in X3DJSAIL to support JSweet transpiler; X3DJSAIL release tests many new libraries
Don Brutzman
brutzman at nps.edu
Wed Mar 18 18:07:40 PDT 2020
I think it was fixed already. Double checking:
* https://www.web3d.org/specifications/java/src/org/web3d/x3d/jsail/CommandLine.java
Please check your local stylesheets/ tree up to date and rebuilding, or else unzip and use X3DJSAIL.3.3.full.jar
* https://www.web3d.org/specifications/java/jars/X3DJSAIL.3.3.full.jar
On 3/16/2020 10:56 AM, John Carlson wrote:
> What about this one? I'm not sure...
>
> 2020-03-16 12:55:01.001 INFO JSweetTranspiler:877 - scanning C:\git\X3DJSAIL\src\main\java\org\web3d\x3d\jsail\CommandLine.java...
> 2020-03-16 12:55:01.001 WARN output:58 - local variable name 'arguments' is not allowed and is automatically generated to '__arguments' at C:\git\X3DJSAIL\src\main\java\org\web3d\x3d\jsail\CommandLine.java(239)
> 2020-03-16 12:55:01.001 WARN output:58 - local variable name 'arguments' is not allowed and is automatically generated to '__arguments' at C:\git\X3DJSAIL\src\main\java\org\web3d\x3d\jsail\CommandLine.java(239)
> 2020-03-16 12:55:01.001 WARN output:58 - local variable name 'arguments' is not allowed and is automatically generated to '__arguments' at C:\git\X3DJSAIL\src\main\java\org\web3d\x3d\jsail\CommandLine.java(774)
> 2020-03-16 12:55:01.001 INFO JSweetTranspiler:903 - output file: org\web3d\x3d\jsail\CommandLine.ts
> 2020-03-16 12:55:01.001 INFO JSweetTranspiler:928 - created C:\git\X3DJSAIL\target\ts\org\web3d\x3d\jsail\CommandLine.ts
>
> John
>
> On Mon, Mar 16, 2020 at 12:47 PM John Carlson <yottzumm at gmail.com <mailto:yottzumm at gmail.com>> wrote:
>
> One left?
>
> 2020-03-16 12:44:39.039 INFO JSweetTranspiler:877 - scanning C:\git\X3DJSAIL\src\main\java\org\web3d\x3d\jsail\Core\X3DObject.java...
> 2020-03-16 12:44:40.040 WARN output:58 - local variable name 'in' is not allowed and is automatically generated to '__in' at C:\git\X3DJSAIL\src\main\java\org\web3d\x3d\jsail\Core\X3DObject.java(2597)
> 2020-03-16 12:44:40.040 WARN output:58 - local variable name 'in' is not allowed and is automatically generated to '__in' at C:\git\X3DJSAIL\src\main\java\org\web3d\x3d\jsail\Core\X3DObject.java(2901)
> 2020-03-16 12:44:41.041 INFO JSweetTranspiler:903 - output file: org\web3d\x3d\jsail\Core\X3DObject.ts
> 2020-03-16 12:44:41.041 INFO JSweetTranspiler:928 - created C:\git\X3DJSAIL\target\ts\org\web3d\x3d\jsail\Core\X3DObject.ts
>
> On Mon, Mar 16, 2020 at 12:01 PM Don Brutzman <brutzman at nps.edu <mailto:brutzman at nps.edu>> wrote:
>
> Thanks for this helpful report and interesting progress John.
>
> On 3/14/2020 11:40 AM, John Carlson wrote:
> > JSweet conversion to *Script reveals keywords renamed.
>
> [1] jsweet: a transpiler from Java to TypeScript/JavaScript
> http://www.jsweet.org
>
> Certainly following transpiler patterns is one way for us to keep programming idioms and documentation consistently defined, Java/JavaScript/TypeScript.
>
> The JSweet warnings posted below are sensible improvements and all fixed. Further refinements welcome.
>
> Am happy to report deployment of an updated release of X3DJSAIL providing those changes.
>
> [2] X3D Java Scene Access Interface Library (X3DJSAIL)
> supports programmers with standards-based X3D Java interfaces and objects, all as open source.
> https://www.web3d.org/specifications/java/X3DJSAIL.html
>
> Improved documentation and fixed a bug in that was passing default values for bbox fields during stylesheet conversions to Java, JSON, Python and Turtle.
>
> Added a section describing Configuration Properties, note property rename/reversal showDefaultAttributes -> stripDefaultAttributes (for consistency with stripTrailingZeroes).
>
> [3] X3DJSAIL: Configuration Properties
> https://www.web3d.org/specifications/java/X3DJSAIL.html#ConfigurationProperties
> https://www.web3d.org/specifications/java/examples/X3DJSAIL.properties
> https://www.web3d.org/specifications/java/X3DJSAIL.properties.template
>
> Also tested multiple new codebases with this release:
>
> [4] OpenJDK 13.0.2
> https://jdk.java.net/13
>
> [5] Savage Developers Guide: Java
> https://savage.nps.edu/Savage/developers.html#Java
>
> [6] Apache Netbeans 11.3
> https://netbeans.apache.org
>
> [7] Savage Developers Guide: NetBeans
> https://savage.nps.edu/Savage/developers.html#NetBeans
>
> [8] Blender 2.82a
> http://www.blender3d.org
>
> [9] X3DJSAIL: Blender
> https://www.web3d.org/specifications/java/X3DJSAIL.html#Blender
>
> [10] Meshlab
> https://www.meshlab.net
>
> [11] Meshlab-2020.03 release
> https://github.com/cnr-isti-vclab/meshlab/releases
>
> [12] X3DJSAIL: MeshLab
> https://www.web3d.org/specifications/java/X3DJSAIL.html#MeshLab
>
> The Meshlab release is particularly notable since it has been years since a public update was available. Cool.
>
> > Will post package once I've got it all up to date.
> >
> > John
> >
> > 2020-03-14 13:30:00.000 INFO JSweetTranspiler:877 - scanning C:\git\X3DJSAIL\src\main\java\org\web3d\x3d\jsail\BlenderLauncher.java...
> > 2020-03-14 13:30:00.000 WARN output:58 - local variable name 'arguments' is not allowed and is automatically generated to '__arguments' at C:\git\X3DJSAIL\src\main\java\org\web3d\x3d\jsail\BlenderLauncher.java(240)
> > 2020-03-14 13:30:00.000 WARN output:58 - local variable name 'arguments' is not allowed and is automatically generated to '__arguments' at C:\git\X3DJSAIL\src\main\java\org\web3d\x3d\jsail\BlenderLauncher.java(240)
> >
> > 2020-03-14 13:30:03.003 INFO JSweetTranspiler:877 - scanning C:\git\X3DJSAIL\src\main\java\org\web3d\x3d\jsail\CommandLine.java...
> > 2020-03-14 13:30:03.003 WARN output:58 - local variable name 'arguments' is not allowed and is automatically generated to '__arguments' at C:\git\X3DJSAIL\src\main\java\org\web3d\x3d\jsail\CommandLine.java(239)
> > 2020-03-14 13:30:03.003 WARN output:58 - local variable name 'arguments' is not allowed and is automatically generated to '__arguments' at C:\git\X3DJSAIL\src\main\java\org\web3d\x3d\jsail\CommandLine.java(239)
> > 2020-03-14 13:30:03.003 WARN output:58 - local variable name 'arguments' is not allowed and is automatically generated to '__arguments' at C:\git\X3DJSAIL\src\main\java\org\web3d\x3d\jsail\CommandLine.java(774)
> > 2020-03-14 13:30:03.003 INFO JSweetTranspiler:903 - output file: org\web3d\x3d\jsail\CommandLine.ts
> > 2020-03-14 13:30:03.003 INFO JSweetTranspiler:877 - scanning C:\git\X3DJSAIL\src\main\java\org\web3d\x3d\jsail\ConfigurationProperties.java...
> > 2020-03-14 13:30:03.003 WARN output:58 - local variable name 'in' is not allowed and is automatically generated to '__in' at C:\git\X3DJSAIL\src\main\java\org\web3d\x3d\jsail\ConfigurationProperties.java(611)
> > 2020-03-14 13:30:03.003 INFO JSweetTranspiler:903 - output file: org\web3d\x3d\jsail\ConfigurationProperties.ts
> > 2020-03-14 13:30:03.003 INFO JSweetTranspiler:928 - created C:\git\X3DJSAIL\target\ts\org\web3d\x3d\jsail\ConfigurationProperties.ts
> >
> > 2020-03-14 13:30:10.010 INFO JSweetTranspiler:877 - scanning C:\git\X3DJSAIL\src\main\java\org\web3d\x3d\jsail\Core\X3DObject.java...
> > 2020-03-14 13:30:11.011 WARN output:58 - local variable name 'in' is not allowed and is automatically generated to '__in' at C:\git\X3DJSAIL\src\main\java\org\web3d\x3d\jsail\Core\X3DObject.java(2597)
> > 2020-03-14 13:30:11.011 WARN output:58 - local variable name 'in' is not allowed and is automatically generated to '__in' at C:\git\X3DJSAIL\src\main\java\org\web3d\x3d\jsail\Core\X3DObject.java(2901)
> > 2020-03-14 13:30:12.012 INFO JSweetTranspiler:903 - output file: org\web3d\x3d\jsail\Core\X3DObject.ts
> > 2020-03-14 13:30:12.012 INFO JSweetTranspiler:928 - created C:\git\X3DJSAIL\target\ts\org\web3d\x3d\jsail\Core\X3DObject.ts
>
>
> Have fun with X3D Java/JavaScript/TypeScript ! 8)
>
> all the best, Don
> --
> Don Brutzman Naval Postgraduate School, Code USW/Br brutzman at nps.edu <mailto: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
>
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
More information about the x3d-public
mailing list