Application in Low and High Level Languages
Self-modification can be accomplished in a variety of ways depending upon the programming language and its support for pointers and/or access to dynamic compiler or interpreter 'engines':-
- overlay of existing instructions (or parts of instructions such as opcode, register, flags or address) or
- direct creation of whole instructions or sequences of instructions in memory
- creating or modification of source code statements followed by a 'mini compile' or a dynamic interpretation (see eval statement)
- creating an entire program dynamically and then executing it
Read more about this topic: Self-modifying Code
Famous quotes containing the words application, high, level and/or languages:
“Most people, no doubt, when they espouse human rights, make their own mental reservations about the proper application of the word human.”
—Suzanne Lafollette (18931983)
“... by and large, wife-changing and high office are not compatible. This inequity accounts for the many dull women in Washington and is the cause of much smug complacency on the distaff side of political marriages.”
—Barbara Howar (b. 1934)
“One of the peculiar sins of the twentieth century which weve developed to a very high level is the sin of credulity. It has been said that when human beings stop believing in God they believe in nothing. The truth is much worse: they believe in anything.”
—Malcolm Muggeridge (19031990)
“The trouble with foreign languages is, you have to think before your speak.”
—Swedish proverb, trans. by Verne Moberg.