We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

SelfModify

From Esolang
Jump to navigation Jump to search
This article is not detailed enough and needs to be expanded. Please help us by adding some more information.

SelfModify is a programming language that uses Self-Modification to do something.

Everything

Commands

A#*#B - turns into #B*#A
<C> - doesn't run C until not surrounded by <>, Note: C is multilettered.
%#A - turns into #%
Note: The program runs left to right, using the previous state of the program, then the new state of the program is the result