[X3D-Ecosystem] X3D JSON to JRuby with X3DJSONLD
John Carlson
yottzumm at gmail.com
Wed Jul 16 09:38:37 PDT 2025
The reason I chose JRuby over TruffleRuby was essentially Windows support.
If someone wants support for TruffleRuby, I will consider it, but it
requires WSL under Windows!
I also will try to clean up Clojure output at least in X3DJSONLD, targeting
src/main/data, maybe I’ll get something working outside of WSL?
On Tue, Jul 15, 2025 at 10:42 PM John Carlson <yottzumm at gmail.com> wrote:
> I now provide full JRuby source converted from X3D JSON on the X3DJSONLD
> website.
>
> https://coderextreme.net/X3DJSONLD/src/main/html/main_viewer.html
>
> The trick was to do fetch() in JavaScript in addition to reading files
> from the file system.
>
> Alpha testers welcome, as I am testing server-side conversion, since I
> added a new function to handle the result from fs.readFileSync() and
> fetch(). I have not personally tested the programs presented on the
> website yet, except for JavaScript, a long time ago.
>
> Now, I have to propagate this to other Serializers which use the file
> system to read imports into source code.
>
> A simpler alternative would be to include imports in the serializer, but
> then updates would be a pain!
>
> Amazing!
>
> John
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-ecosystem_web3d.org/attachments/20250716/e13471d9/attachment.html>
More information about the X3D-Ecosystem
mailing list