Game
Robot Unlock
13 years ago

Amandine


Rewriting rules:
21 -> 12 31 -> 13 32 -> 23

Input string:

Output string:

Amandine is a string-rewriting system.

The input given is rewritten accoding to the specified rules. This is how the process goes:
The first rule is applied repeatedly to the string until no more changes are made. Then the second rule is applied, followed by the third and so on. This process is repeated until the string can not be modified with any of the rules anymore. Rules are of the form <span style=”font-family:monospace;background-color:#DDD;font-weight:bold;”>source -> replacement</span> where <span style=”font-family:monospace;background-color:#DDD;font-weight:bold;”>source</span> is a JavaScript regular expression and <span style=”font-family:monospace;background-color:#DDD;font-weight:bold;”>replacement</span> is a normal string. Lines that start with a <span style=”font-family:monospace;background-color:#DDD;font-weight:bold;”>;</span> are ignored.

The default example shows how sorting a sequence of numbers is possible.



0 comments

Loading...

Next up

Bandana Dee the Dream Friend

Fan art for Foolish I'm feeling kinda better so I drew this

Heya there! I really wanted to show you all a little gameplay preview of the first boss fight i'm currently working on i hope you like it ^^

Path of Kami: The Evolution of the Lore

Have a good Boi

A Shiny Mega Gengar 🌟 For @ManutkArt 's #ThreeColorsChallenge!

"Day to Day" (also check spud out here he's a great guy and writer: https://soundcloud.com/spudward)

My D&D art for my family so far (WIP if you couldn't tell)

Made my first ever animation.

Hello my space friends! Now I added a space background to the ship. I love that space look but I still feel like stuff is missing. The lighting on the ship needs some improvements I think. Please tell me your opinion!