AI traspilers

0 views
Skip to first unread message

Raoul Duke

unread,
Nov 9, 2025, 12:58:53 PM (3 days ago) Nov 9
to pi...@googlegroups.com
i want magic AI fairy pixie dust to build me transpiler environments so i can be developing a (ts, canvas/webgl) web based game but have it be convertible from typescript to things like haxe/openfl, and bevy-rust, and lume/glass at any moment. The environment would be running all the time so i can iteratively play test across all targets and it would also help make sure i do not write code that is too hard to convert. 

gawd i hate cross platform software development. 


Paul Tarvydas

unread,
Nov 9, 2025, 3:10:11 PM (3 days ago) Nov 9
to pi...@googlegroups.com
I find that if I care about the code, then I write the code myself faster than trying to squeeze it out of an LLM. When I don't care about the code, I just get an LLM to write it.

… not a direct solution to your problem, but some ideas ...

a) Steve Philips succeeded in creating a new programming language by coaxing an LLM to transpile source code in the new PL to Go.

b) I've adopted a PML (Portable Meta-Language) approach. I slap together a PML, then write t2t transpilers (Ohm grammar + RWR DSL rules (text rewrite rules) to transmogrify the PML source code into multiple targets at once. For example, my PBP kernel (about 1000 lines of Python-esque `.rt` code) creates working kernels in Python, JS, CL (I ran out of interest after only 3 targets). Writing the kernel took quite a while (bench testing, debugging, etc.). Then rewriting it in .rt took only several hours (or several afternoons, I forget). As I rewrote, I was aware of what kinds of things were wildly different in the target languages and just wrote them as PML "macros" ("external phrases") which got expanded into different lumps of code for each target. (Apologies, if I've posted these articles here previously) [Portability](https://programmingsimplicity.substack.com/p/portability?r=1egdky)  [PBP Kernel Portability](https://programmingsimplicity.substack.com/p/pbp-kernel-portability?r=1egdky) [How I Execute Diagrams As Code](https://programmingsimplicity.substack.com/p/how-i-execute-diagrams-as-code?r=1egdky)

pt


On Nov 9, 2025, at 12:58 PM, Raoul Duke <rao...@gmail.com> wrote:

i want magic AI fairy pixie dust to build me transpiler environments so i can be developing a (ts, canvas/webgl) web based game but have it be convertible from typescript to things like haxe/openfl, and bevy-rust, and lume/glass at any moment. The environment would be running all the time so i can iteratively play test across all targets and it would also help make sure i do not write code that is too hard to convert. 

gawd i hate cross platform software development. 



--
You received this message because you are subscribed to the Google Groups "PiLuD" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pilud+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pilud/CAJ7XQb673rr_JnFqKyAnXLuOzbPQzDi6U2iR8DbQY42zGyQRdw%40mail.gmail.com.

Raoul Duke

unread,
Nov 9, 2025, 4:34:35 PM (3 days ago) Nov 9
to pi...@googlegroups.com
i have a soft spot for https://shen-language.github.io/ wrt the idea of a portable small kernel language. 

but it exhibits many of the failures of any cross-platform attempt. in particular, doesn't have a good debugging story at all. it lacks a significant sdk. it has pain integrating with native libraries. etc.

actually good dx for cross-platform is really not very possible still i feel like. 

Reply all
Reply to author
Forward
0 new messages