python to NQC converter?

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


Hello,

I was wondering if anyone has written a converter between python code and NQC 
(http://bricxcc.sourceforge.net/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 bryant.edu
              http://web.bryant.edu/~bblais



More information about the Python-list mailing list