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

We are under attack!

Smile! Here, take some happy pills! ✨💊 #Blender #3DModelling #3DArt Buy me a Ko-fi: https://ko-fi.com/barbarafb_

Chiaki Nanami!

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

Today I was setting up the location of the first boss. His name is "Father" and he is the first of the Patagonians. His task is to guard the road to the House.🛡🗡 Bookmark pre-launch page🔖🔖🔖

https://www.kickstarter.com/projects/rdvindiegame/the-patagonian…

"Our work is never over" they said.

The whole squad is here!

Interested? Follow me!

Microsoft Windows XP Unprofessional (windows logo prototype)

Update 2.627

New challenges & new effects!