[X3D-Ecosystem] X3DJSONLD Clojure Serialized program output and Clojure code generation

John Carlson yottzumm at gmail.com
Sun Jul 27 01:44:01 PDT 2025


The next version of X3DJSONLD 12 will include cleaner Clojure projects! I
have been using Arch Linux on WSL2 and having a lot of “fun” getting KDE
Plasma working.

And here’s my repository of X3DJSAIL Clojure programs:

https://github.com/coderextreme/X3DJSONLD/tree/master/src/main/clojure/net/coderextreme/data

Updated for Arch Linux!

Clojure output output [sic], tested under Sunrize,

https://github.com/coderextreme/X3DJSONLD/tree/master/src/main/data

See *.new.clojure.*

The Clojure code is reliant on X3DJSAIL, and suffers from “Method too
large” just like Java can.  No effort has been made to accommodate this
yet.  Please use the Java version, where it might work better, or
alternatively, a different Java-based language.

There are new shell scripts to generate Clojure as well, as well as a new
project.clj.template

https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/resources/project.clj.template

https://github.com/coderextreme/X3DJSONLD/tree/master/src/main/shell

See *clojure*.sh

Part of the issue with development has been how Clojure deals with newlines
when outputting Scripts in JSON and XML.  I’m trying to get that right.

I would like to also test Castle Model Viewer and Sunrize on Linux!

Recent advances include addComments() support.

John

On Sun, Jul 6, 2025 at 12:52 AM John Carlson <yottzumm at gmail.com> wrote:

> C++ and Clojure outputs are now available on the X3DJSONLD 12 alpha
> website.  See https://coderextreme.net
>
> Note that not all conversions currently work.  I’ve found it easiest to
> start with JSON.   Theres seems to be an issue with going beyond XML to
> JSON and EXI to JSON conversion.
>
> John
>
> On Sat, Jul 5, 2025 at 7:37 AM John Carlson <yottzumm at gmail.com> wrote:
>
>> Clojure and C++ outputs are in the pipeline.
>>
>> Are there any plans to combine Xj3D and X3DJSAIL in a rendering SAI?  How
>> can they work together?
>>
>> I’ll still trying to work with Myeong’s C++ library for now, unless
>> someone has a better solution…flux/vivaty?
>>
>> I’ll look at Xj3D’s website.
>>
>> John
>>
>> On Sat, Jul 5, 2025 at 5:47 AM John Carlson <yottzumm at gmail.com> wrote:
>>
>>> I am adding brand new features to the X3DJSONLD 12 web site,
>>> including Python and Java outputs (from JSON, apparently not from XML).
>>>
>>> Enjoy!
>>>
>>> John
>>>
>>>>
>>>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-ecosystem_web3d.org/attachments/20250727/4aa86ad0/attachment.html>


More information about the X3D-Ecosystem mailing list