Docstrings considered too complicated

Mark Lawrence breamoreboy at yahoo.co.uk
Fri Feb 26 16:59:16 EST 2010


Jean-Michel Pichavant wrote:
> Andreas Waldenburger wrote:
>> On Fri, 26 Feb 2010 09:09:36 -0600 Tim Daneliuk <tundra at tundraware.com>
>> wrote:
>>
>>  
>>> On 2/24/2010 2:23 PM, Andreas Waldenburger wrote:
>>>    
>>>> [stuff]
>>>>       
>>> Reminiscent of:
>>>
>>> mov  AX,BX               ; Move the contents of BX into AX
>>>
>>>     
>> Well, there might be some confusion there as to what gets moved where,
>> wouldn't you say? I guess this goes away after a couple of months,
>> though.
>>   
> 
> I agree to that statement, I was surprised that mov AX,BX assumes that 
> BX is the source, and AX the destination. I never programmed in 
> assembler though.
> 
> JM

The obvious solution to this problem is to write the assembler code in 
your own way, and then use Python to change the code to the appropriate 
target.  Any of the solutions listed here would presumably suffice.
http://nedbatchelder.com/text/python-parsers.html

Regards.

Mark Lawrence.




More information about the Python-list mailing list