Mystical
442 points
14 days ago
| 29 comments
| suberic.net
| HN
anpep
14 days ago
[-]
Reminds me of japanese anime Dennō Coil, where kids would draw computer programs almost exactly like the author’s on the floor and invoke them as some kind of enchantement. Highly recommend it!
reply
blkhawk
14 days ago
[-]
I loved that show. It showed how children deal with new technology different from how adults deal with it. It predated even google glass by half a decade.
reply
Aeolun
14 days ago
[-]
I should rewatch that. There’s many shows that get worse over time, but I just don’t think anything has changed in regards to DC. Even now it’ll seem like pure magic, but just close enough to believable you might see it in your lifetime.

Of course my lifetime has marched on relentlessly since I first saw it.

reply
cardamomo
14 days ago
[-]
I came here to say exactly the same thing! What a great show.
reply
Sharlin
14 days ago
[-]
This must be the preferred programming language of the otherworldly main character of Aphyr's "Xing the technical interview" sequence of blog posts [1]. Would definitely deserve its own entry in the series.

[1] https://aphyr.com/posts/354-unifying-the-technical-interview

reply
pcthrowaway
13 days ago
[-]
I would actually love to use this for a programming interview in real life.
reply
awanderingmind
13 days ago
[-]
I wasn't aware of this, thanks for posting! Very amusing.
reply
rgovostes
13 days ago
[-]

    BEFOREHAND: close door, each window & exit; wait until time.
        open spellbook, study, read (scan, select, tell us);
     write it, print the hex while each watches,
        reverse its length, write again;
        kill spiders, pop them, chop, split, kill them.
            unlink arms, shift, wait & listen (listening, wait),
    ...
— Anonymous, "Black Perl" https://en.wikipedia.org/wiki/Black_Perl
reply
tauoverpi
13 days ago
[-]
This is incredible, what's the license of the work? A derivative of this (using a forth-like with only recursion) would be perfect for the current game project where I'm lacking a visual representation of spells (both written and animated). Mystical provides the missing piece of the puzzle of how users could write their own spells in a structured way within the game and still feel as if it's part of the game world with the same kind of thinking as in regular programming.
reply
miohtama
13 days ago
[-]
Noita has similar want building system for constructing spells in a wand in programmatic way with repeats, multiplies, duplicating and such:

https://store.steampowered.com/app/881100/Noita/

reply
spencerflem
13 days ago
[-]
I've been working on one of these too! Mine's based on Dusa, a logic lang which has the nice property that the order of instructions don't matter. This gives a lot of options for making really expressive, dense runes but making a program that lays it out automatically has been challenging. It's also nowhere near as readable as Mystical for better or worse.

Here's a sample that plays Rock Paper Scissors: https://sunny.garden/@spenc/113870784615196721

reply
camtarn
12 days ago
[-]
Wow, that's gorgeous.
reply
em-bee
13 days ago
[-]
it does look just as beautiful though.
reply
ElectroSlayer
14 days ago
[-]
reply
fatbird
14 days ago
[-]
For game purposes I've been looking up alchemical and mystical symbols, and I've been frustrated that, while there's a lot of references of symbols, alphabets, etc. themselves, there's little or no presentation of a grammar that would direct one in creating larger diagrams that look like this. This is amazing. It's deeply pleasing that code, represented systematically, would be so aesthetically pleasing.
reply
aspizu
14 days ago
[-]
This is neography meets conlang. Love it. I would really love to see a unique programming language that uses a constructed language with a beautiful script. I had the idea of making one but I never got around to it.
reply
ryandv
14 days ago
[-]
More on chaos magick and sigil casting 101: https://archive.org/details/the-psychonaut-field-manual
reply
areeh
13 days ago
[-]
Oh wow, I had to try this and as expected it's amazing. Trying to design interesting algorithms that also look good is a lot of fun, and the result is surprisingly readable.

It takes some getting used to symbols that can be confused when upside down such as b or brackets (like the symbols for begin/end)

Like others I am curious about doing it for a lisp or Forth

reply
anthk
14 days ago
[-]
Torres Quevedo did it first but with symbols on mechanic hardware and processes.

Also, Babbage with literal gears. Look up for electromechanical computation.

reply
buildsjets
14 days ago
[-]
I call upon thе blood-moon goddess, for I have but one request. I've laid the altar, charged the crystals, the circle, I have blessed. PLEASE boot this time.
reply
01HNNWZ0MV43FF
14 days ago
[-]
Knock the candle from scripture stack
reply
gonepivoting
14 days ago
[-]
Very cool - it reminds me of some of the programming-language-like magic systems in Sanderson's books, especially AonDor in Elantris and Lines in The Rithmatist.
reply
globalnode
14 days ago
[-]
This has uses right? A prettier form of QR code? Would be a tad difficult to decode automatically but I definitely like the combination of aesthetics with logic.
reply
bdbenton5255
13 days ago
[-]
Theologically speaking, there is an important distinction between magic, or sorcery, and mysticism. Sorcery is an attempt to twist or subvert the divine while mysticism is an attempt to uncover it.

For example, Hildegard von Bingen is a mystic while Heinrich Faust would be considered a sorcerer. The distinction is important as mysticism is considered a holy activity while sorcery is considered to be a profound sin.

Meditation and esoteric study would fall under the realm of mysticism, while things like divination or the dishonest manipulation of belief would be considered sorcery.

reply
oersted
13 days ago
[-]
This actually seems rather usable! It is rare that an esolang focused on aesthetics is so readable and relatively easy to use.

And this idea can probably be applied for any Lisp-like, any stack based language or array language.

With the right structured editor, it could be used for legitimate programming, it might even be more compact and readable at a glance than some code.

reply
ykonstant
13 days ago
[-]
Hah, who's the wizard now, APL programmers?
reply
philodeon
14 days ago
[-]
Dude, the Laundry is trying to relax on the weekend. Don’t make them call the Plumbers out.
reply
spauldo
14 days ago
[-]
I suspect the new management has them occupied.
reply
FridgeSeal
13 days ago
[-]
One of the Phang’s or the 1st of Liars should be free though.
reply
hojinkoh
14 days ago
[-]
Couldn't think of any applications of this outside of doing actual magic. But this is awesome still!
reply
rdtsc
14 days ago
[-]
Very cute. If you squint, it's almost APL written in a circles.
reply
stared
13 days ago
[-]
PostScript (with its reverse Polish notation) rewires brain on its own (it is top 1 in languages that "made me think different). Adding esoteric visuals is a nice touch.
reply
keepamovin
13 days ago
[-]
Other languages please? Would be cool to have a rewire your brain, and train you briefly in things like ps and lisp.
reply
stared
13 days ago
[-]
Every language rewired my brain, as you need to think in a different way. But nothing felt like using PostScript. I guess if I tried to use Assembly (well, my only experience is through playing Shenzhen I/O), the difference would be even more profound.

For many people, functional languages were a big paradigm shift. For me, not so much — my background is in mathematics and theoretical physics, so the functional way is the default way of doing things. So, for me, the functional approach (be it in JavaScript or Rust) brings comfort rather than enlightenment.

It’s always contextual, based on what you already know. Maybe if someone speaks German natively, PostScript comes more naturally — who knows.

reply
NelsonMinar
13 days ago
[-]
Declarative languages are fun. Prolog is the iconic one. You may be more familiar with Make.

For OO, every serious software engineer should read The Art of the Metaobject Protocol sometime in their lives.

reply
anthk
13 days ago
[-]
Forth. Get Starting Forth and Thinking Forth.
reply
sn9
13 days ago
[-]
reply
leke
13 days ago
[-]
The sigil feel of this feels like the premise of a movie
reply
faresahmed
13 days ago
[-]
It has been kind of made into a movie! The Heptapods [0] in Arrival (2016) written script is a circular shape with each subsection of the shape conveying a different meaning ultimately representing a concept or thought. A quote from the movie:

> Like their ship or their bodies, their written language has no forward or backward direction. Linguists call this "nonlinear orthography", which raises the question: Is this how they think?

While the movie explores philosophical questions other than "Arrival" and does a quiet beautiful job at that, actual linguistic experts have helped making it and it has been praised for its accuracy. I suggest you give it a go.

[0]: https://aliens.fandom.com/wiki/Heptapod

reply
anthk
8 days ago
[-]
I'd like this with EForth/Forth.
reply
hvis
13 days ago
[-]
Looks basically like the Logo language, except with more sigils and less turtle.
reply
QuesnayJr
13 days ago
[-]
This is the coolest thing I've seen in years.
reply
joisig
14 days ago
[-]
Very cool!
reply
roymurdock
14 days ago
[-]
Awesome.
reply
tehasem
14 days ago
[-]
cool!!!
reply
tines
14 days ago
[-]
Holy shit this is awesome. Absolutely beautiful.
reply