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.
Lines that start with a ; are ignored.
The default example shows how sorting a sequence of numbers is possible.