Mystical
345 points
1 day ago
| 26 comments
| suberic.net
| HN
areeh
38 minutes 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
anpep
1 day 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
1 day 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
23 hours 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
21 hours ago
[-]
I came here to say exactly the same thing! What a great show.
reply
Sharlin
1 day 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
6 hours ago
[-]
I would actually love to use this for a programming interview in real life.
reply
awanderingmind
13 hours ago
[-]
I wasn't aware of this, thanks for posting! Very amusing.
reply
rgovostes
15 hours 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
ElectroSlayer
17 hours ago
[-]
reply
tauoverpi
12 hours 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
12 hours 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
oersted
13 hours 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
buildsjets
21 hours 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
21 hours ago
[-]
Knock the candle from scripture stack
reply
ryandv
1 day ago
[-]
More on chaos magick and sigil casting 101: https://archive.org/details/the-psychonaut-field-manual
reply
globalnode
20 hours 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
ykonstant
6 hours ago
[-]
Hah, who's the wizard now, APL programmers?
reply
spencerflem
6 hours 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
em-bee
2 hours ago
[-]
it does look just as beautiful though.
reply
philodeon
1 day ago
[-]
Dude, the Laundry is trying to relax on the weekend. Don’t make them call the Plumbers out.
reply
spauldo
22 hours ago
[-]
I suspect the new management has them occupied.
reply
FridgeSeal
11 hours ago
[-]
One of the Phang’s or the 1st of Liars should be free though.
reply
stared
13 hours 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 hours 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
10 hours 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
7 hours 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
4 hours ago
[-]
Forth. Get Starting Forth and Thinking Forth.
reply
sn9
3 hours ago
[-]
reply
hojinkoh
20 hours ago
[-]
Couldn't think of any applications of this outside of doing actual magic. But this is awesome still!
reply
leke
16 hours ago
[-]
The sigil feel of this feels like the premise of a movie
reply
faresahmed
11 hours 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
rdtsc
19 hours ago
[-]
Very cute. If you squint, it's almost APL written in a circles.
reply
gonepivoting
18 hours 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
anthk
1 day 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
fatbird
20 hours 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
QuesnayJr
11 hours ago
[-]
This is the coolest thing I've seen in years.
reply
joisig
1 day ago
[-]
Very cool!
reply
roymurdock
1 day ago
[-]
Awesome.
reply
tehasem
1 day ago
[-]
cool!!!
reply
tines
22 hours ago
[-]
Holy shit this is awesome. Absolutely beautiful.
reply
aspizu
23 hours 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