README: Improve description of precompiled bytecode; mention mpy-cross.

pull/3169/head
Damien George 2017-06-26 15:33:43 +10:00
rodzic 7a4694fc4e
commit 02e9337494
1 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

@ -22,8 +22,9 @@ Builtin modules include `sys`, `time`, and `struct`, etc. Select ports have
support for `_thread` module (multithreading). Note that only a subset of support for `_thread` module (multithreading). Note that only a subset of
Python 3 functionality is implemented for the data types and modules. Python 3 functionality is implemented for the data types and modules.
MicroPython can execute scripts in source form or precompiled to bytecode, MicroPython can execute scripts in textual source form or from precompiled
either from on-device filesystem or "frozen" into MicroPython executable. bytecode, in both cases either from an on-device filesystem or "frozen" into
the MicroPython executable.
See the repository http://github.com/micropython/pyboard for the MicroPython See the repository http://github.com/micropython/pyboard for the MicroPython
board (PyBoard), the officially supported reference electronic circuit board. board (PyBoard), the officially supported reference electronic circuit board.
@ -31,6 +32,8 @@ board (PyBoard), the officially supported reference electronic circuit board.
Major components in this repository: Major components in this repository:
- py/ -- the core Python implementation, including compiler, runtime, and - py/ -- the core Python implementation, including compiler, runtime, and
core library. core library.
- mpy-cross/ -- the MicroPython cross-compiler which is used to turn scripts
into precompiled bytecode.
- unix/ -- a version of MicroPython that runs on Unix. - unix/ -- a version of MicroPython that runs on Unix.
- stmhal/ -- a version of MicroPython that runs on the PyBoard and similar - stmhal/ -- a version of MicroPython that runs on the PyBoard and similar
STM32 boards (using ST's Cube HAL drivers). STM32 boards (using ST's Cube HAL drivers).