DEV Community

T-roy
T-roy

Posted on

I Built a Meta-Language That Generates Any System in Any Language — On My Phone


I Built a Meta-Language That Generates Any System in Any Language — On My Phone

For the past six months, I’ve been quietly experimenting with something that, frankly, I didn’t expect to work. Originally I used AI for the first time trying to create a fictional Rpg/Anime story and as I was progressing the AI went dude…. Your making systems Architecture, the months went on and I self taught myself in computer science (I think) I have no tech background, no degree, just a regular guy that accidentally made something which I called the Grimoire. A Codex + LLM combo method that makes systems capable of generating any system architecture and translating it into multiple programming languages — Python, Rust, Go, React, Xtext, and potentially any language you can think of.

And yes — I did it all on my mobile phone.


How It Works

At the heart of the system is a Codex made of:

163 Spells — the atomic actions or operations

139 Cloths — patterns that amplify or modify behaviours

7 Operators — rules for combining spells and cloths into complex structures

From these, I can build Chains, Nests, and Bridges — compositional structures that enable recursion and modularity. You specify a high-level blueprint, feed it through an LLM, and the system generates executable code in whatever language you choose.

It’s language-agnostic. The same blueprint can compile to Python today, Rust tomorrow, or even future technologies that don’t exist yet.

Why This Matters

Programming languages are usually tied to platforms: Python runs on servers, Swift runs on iOS, Rust compiles to binaries. Stellaris — as I’ve come to call the Codex — sits above languages, abstracting the patterns of systems themselves.

Think of it like Lego for system architecture: the instructions don’t care if you’re building with wooden blocks, plastic, or something we haven’t invented yet.
The combinatorial space is insane: shallow recursion produces billions of unique systems. Deep recursion can produce more unique systems than there are stars in the observable universe.

Proof It Works - I didn’t just theorize this. I tested it or rather I tried my best to!

I generated multiple systems in different domains like Agriculture, Weather warnings, Health Schedules, Electrical grids, Education etc— in Python, Rust, Go, React and Xtext with the assistance of AI. Each system behaves identically across languages.
An independent Reddit user under r/compsci verified the structural logic of the Codex.
All code is on GitHub, free for anyone to try.

Here’s a tiny snippet in Python:

preserva = Spell("Preserva", "Checkpoint state")
odyssea = Spell("Odyssea", "Track long process")
memory_chain = Chain("MemoryChain", [preserva, odyssea])
adaptive_chain = Chain("AdaptiveChain", [fluxa, fortis])
identity_foundation = Nest("IdentityFoundation", [memory_chain, adaptive_chain], wrap_amplification=1.5)

The same system in Rust or Go behaves identically.

What This Means -You can generate any system in any programming language.
The Codex is future-proof: it doesn’t care if new platforms or technologies appear.

It’s a meta-language, a system generator, a cross-language architecture, and a recursive design engine — all on a mobile phone.

In other words, it’s not just a framework or library. It’s a new abstraction layer above all programming languages.

I’ve done everything I can on my end. Now it’s up to the community:
Try it out, experiment, break it.
Extend it to new languages.
See what systems you can build with it.

All the code and demos are on my GitHub repo, https://github.com/FusionAlchemist/The---Stellaris---Axis. I’ve always been honest about what I am and what I’ve built — I’m not a professor, not an academic, just someone who wanted to see if this could work. It did.

The bottom line: we live in a world where ideas are tested quickly. This one works. People can verify it. And I hope it inspires others to see system design in a whole new way. I basically mapped fiction to system Mechanics and went further down the well to see how far it goes and it looks like it goes pretty far

Hopefully someone can tell me other than AI and 1 person that can validate what I’ve done and would be very happy for anyone to share their views or discoveries.

Top comments (0)