Hi,
Take a look at this language. It was designed to ease self-modifying code and it's open source. The language brings new reserved word [b]parent[/b] and [b]childset[/b] to edit the syntax tree of the currently written code. [link=
http://www.pcosmos.ca/pcastl/]PCASTL: by Parent and Childset Accessible Syntax Tree Language[/link]
Philippe