Programming D. E. Knuth in Python with the Deterministic Finite Automaton construct

Kiuhnm kiuhnm03.4t.yahoo.it
Mon Mar 19 06:24:40 EDT 2012


On 3/19/2012 6:02, Dennis Lee Bieber wrote:
> On Mon, 19 Mar 2012 02:02:23 +0100, Kiuhnm
> <kiuhnm03.4t.yahoo.it at mail.python.org>  declaimed the following in
> gmane.comp.python.general:
>
>>
>> Many ASM languages don't have structured control flow statements but
>> only jmps, which are roughly equivalent to gotos. A good decompiler will
>> need to analize the net of jmps and try to rewrite the code using
>> structured control flow statements.
>> The idea is to maximize readability, of course.
>>
> 	Never met Sigma's Meta-Symbol<G>
>
> 	Okay, the machine level code was limited to basic condition/jump...
> But a master of Meta-Symbol (I wasn't such -- not in a trimester college
> course) could create macros that would make it structured.

You can do that in MASM (and others) as well.

Kiuhnm



More information about the Python-list mailing list