On 4/8/2014 3:22 PM, veegee wrote: > In no way would Python be like C. There is at least one attempt at a > minimal implementation for running Python on microcontrollers (can't find > it at the moment), but it might as well be called C with syntactic sugar. Which is then verifying what I said. > There's no advantage trying to use Python on microcontrollers. C is > very well suited for this. > > Right, but I was saying "wouldn't it be nice ..." Here's one implementation. It appears to be much more than 'C with=20 syntactic sugar' https://code.google.com/p/python-on-a-chip/ Features of the PyMite VM: * Requires roughly 55 KB program memory * Initializes in 4KB RAM; print "hello world" needs 5KB; 8KB is the minimum recommended RAM. * Supports integers, floats, tuples, lists, dicts, functions, modules, classes, generators, decorators and closures * Supports 25 of 29 keywords and 89 of 112 bytecodes from Python 2.6 * Can run multiple stackless green threads (round-robin) * Has a mark-sweep garbage collector * Has a hosted interactive prompt for live coding * Licensed under the GNU GPL ver. 2 The PyMite VM DOES NOT HAVE: * A built-in compiler * Any of Python's libraries (no batteries included) * A ready-to-go solution for the beginner (you need to know C and how to work with microcontrollers) - Martin --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .