(1) It is accidental because i was trying to make a interpreter for the esolang slashes in the programming language smilebasic, but i didn't know how to make all instances of a specific pattern get replaced (the interpreter only replaces the first instance of that pattern).
The syntax of Firstreplace is very simple. It is similar to slashes' syntax but instead of slashes there are newlines and only the first instance of a specific pattern is replaced. Also the program isn't self modifying, it only modifies the initial state of the program.
It is also possible to allow the program to take input from you. You need to just type [INPUT] in the place of the pattern or replacement, but not the initial state.
Initial state Pattern Replacement Pattern Replacement ...
Test es eses
ababab ab cd
I, finally wrote my own interpreter. If you have smilebasic 4 then you can download the interpreter.(you can enter the public key 4JDNE22HE)
(i might rewrite the whole interpreter in this page of the esolang wiki)