python to NQC converter?



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@xxxxxxxxxx
http://web.bryant.edu/~bblais
.