python to NQC converter?

Brian Blais bblais at
Wed May 31 20:07:59 CEST 2006


I was wondering if anyone has written a converter between python code and NQC 
( used for programming LEGO Mindstorms?  I am 
thinking that a small modification to Pyrex might be used, but I am not sure how to 
proceed with something like that.  I was thinking that 90% of it could be done by 
converting indentation to {}, cdef int X  to int X declarations at the top, and other 
simple text-replace features.

Brian Blais


              bblais at

More information about the Python-list mailing list