2015-06-25 00:20:57 +01:00
|
|
|
The MicroPython language
|
|
|
|
========================
|
|
|
|
|
2017-07-01 20:09:40 +01: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-25 00:20:57 +01:00
|
|
|
|
2017-07-01 20:09:40 +01: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-25 00:24:19 +01:00
|
|
|
|
2015-11-01 00:48:46 +00:00
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
2017-07-02 11:47:35 +01:00
|
|
|
glossary.rst
|
2015-11-01 00:48:46 +00:00
|
|
|
repl.rst
|
2015-12-08 12:02:04 +00:00
|
|
|
isr_rules.rst
|
2016-03-11 10:50:46 +00:00
|
|
|
speed_python.rst
|
2016-09-06 07:52:00 +01:00
|
|
|
constrained.rst
|
2017-12-10 22:06:38 +00:00
|
|
|
packages.rst
|
2015-11-01 00:48:46 +00:00
|
|
|
|
2015-06-25 00:24:19 +01:00
|
|
|
.. only:: port_pyboard
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
|
|
|
asm_thumb2_index.rst
|