最終更新:2012-08-28 (火) 10:59:12 (4251d)  

Python-on-a-Chip
Top / Python-on-a-Chip

Python-on-a-Chip (p14p) is a project to develop a reduced Python virtual machine (codenamed PyMite?) that runs a significant subset of the Python language on microcontrollers without an OS.

http://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

関連