2015-06-24 19:20:57 -04:00
|
|
|
The MicroPython language
|
|
|
|
========================
|
|
|
|
|
2017-07-01 15:09:40 -04:00
|
|
|
MicroPython aims to implement the Python 3.4 standard (with selected
|
|
|
|
features from later versions) with respect to language syntax, and most
|
|
|
|
of the features of MicroPython are identical to those described by the
|
|
|
|
"Language Reference" documentation at
|
|
|
|
`docs.python.org <https://docs.python.org/3/reference/index.html>`_.
|
2015-06-24 19:20:57 -04:00
|
|
|
|
2017-07-01 15:09:40 -04:00
|
|
|
The MicroPython standard library is described in the
|
|
|
|
:ref:`corresponding chapter <micropython_lib>`. The :ref:`cpython_diffs`
|
|
|
|
chapter describes differences between MicroPython and CPython (which
|
|
|
|
mostly concern standard library and types, but also some language-level
|
|
|
|
features).
|
|
|
|
|
|
|
|
This chapter describes features and peculiarities of MicroPython
|
|
|
|
implementation and the best practices to use them.
|
2015-06-24 19:24:19 -04:00
|
|
|
|
2015-10-31 20:48:46 -04:00
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
|
|
|
repl.rst
|
2015-12-08 07:02:04 -05:00
|
|
|
isr_rules.rst
|
2016-03-11 05:50:46 -05:00
|
|
|
speed_python.rst
|
2016-09-06 02:52:00 -04:00
|
|
|
constrained.rst
|
2015-10-31 20:48:46 -04:00
|
|
|
|
2015-06-24 19:24:19 -04:00
|
|
|
.. only:: port_pyboard
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
|
|
|
asm_thumb2_index.rst
|