micropython/minimal
Damien George 0bfc7638ba py: Protect mp_parse and mp_compile with nlr push/pop block.
To enable parsing constants more efficiently, mp_parse should be allowed
to raise an exception, and mp_compile can already raise a MemoryError.
So these functions need to be protected by an nlr push/pop block.

This patch adds that feature in all places.  This allows to simplify how
mp_parse and mp_compile are called: they now raise an exception if they
have an error and so explicit checking is not needed anymore.
2015-02-07 18:33:58 +00:00
..
Makefile travis, minimal: Install gcc-multilib for -m32; use /bin/echo for test. 2015-01-14 00:26:39 +00:00
main.c py: Protect mp_parse and mp_compile with nlr push/pop block. 2015-02-07 18:33:58 +00:00
mpconfigport.h py: Implement very simple frozen modules support. 2015-01-20 11:52:12 +02:00
qstrdefsport.h minimal: New port, intended to represent minimal working code. 2015-01-13 03:17:47 +02:00
stm32f405.ld minimal: New port, intended to represent minimal working code. 2015-01-13 03:17:47 +02:00
uart_core.c minimal: Convert "bare-arm" port to "minimal" port. 2015-01-13 04:02:56 +02:00
uart_extra.c minimal: Convert "bare-arm" port to "minimal" port. 2015-01-13 04:02:56 +02:00