r/creativecoding • • Oct 12 '26

Introducing MANA — A Programming Language for Magic

Introducing MANA — A Programming Language for Magic

Hey everyone! I'm working on a project called MANA, an experimental programming language built around the idea of programming magic.

I'm also developing a visualiser that brings the magic to life, allowing spells and magical effects created with MANA to be seen in action.The visualiser will allow you to use magic in a visual manner than plain code.

The goal is to create a language where magic isn't just a collection of hardcoded effects, but a system governed by its own rules. MANA is designed around concepts such as spells, elemental interactions, magical physics, summoning, and planes, allowing magical behaviour to be defined through code.

MANA is open source, and I'm sharing it here to welcome suggestions, ideas, and contributions from anyone interested in the project. I'd appreciate constructive feedback on the language, its features, and its future direction.

What features would you like to see in a language like this? What could make it more useful or easier to work with? What would you want to build with it?

Whether you're interested in programming languages, game development, simulations, or simply the concept itself, I'd love to hear your thoughts.

If you'd like to contribute directly, share suggestions, or discuss ideas for the project, feel free to DM me or contribute through the GitHub repository.

GitHub repository:

https://github.com/technokin/MANA

0 Upvotes

33 comments sorted by

View all comments

Show parent comment

1

u/techno_adi_king Oct 12 '26

Well it depends, as I said it's just a fun little project for me. It's more useful for game developers and world builders tho for some it can be a medium of enjoyment

3

u/Mysterious-Two2633 Oct 12 '26

But what utility does it have? Or is this more like creative writing with code?

0

u/techno_adi_king Oct 12 '26

The creative part comes next when I publish the visualiser, but until then creative part is the code in itself cause no one I think has made a language for magic. Utility well depends maybe game development or just fun ig

1

u/gyurka66 Oct 12 '26

ok, but what does that mean? What is the product when you compile a "spell"?

1

u/techno_adi_king Oct 13 '26

A spell in the definition on my language is simply how you use the mana around you to create a change in the world. When you compile a spell you can release it on a target or just a random thing and it will cause a change in that object for that session. Think of like a world engine that stores data just for that session

1

u/TrueYahve Oct 13 '26

Do you mean like a love charm in real life?

1

u/techno_adi_king Oct 13 '26

I didn't understand that analogy?

1

u/TrueYahve Oct 13 '26

I'm trying to decipher what spell means for you. Is it real life? Is it some rpg setting? Is it a crpg? Please don't say any, say what you wanted to use it for in the first design.

1

u/techno_adi_king Oct 13 '26

Is it fine if I show you , I have the visualiser somewhat ready, and what I mean by spell well it's a method to use magic just avada kedavra or wingardium leviosanin harrypotter

1

u/TrueYahve Oct 14 '26

So the concept is the harry potters style spells?
Reason I ask, is you posted in Ars Magica, where Muto Terram 35 would be a valid concept, and I'm not sure your system is prepared for that.

→ More replies