<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/bc.c, branch 0.9.0</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=0.9.0</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=0.9.0'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-10-17T01:17:37+00:00</updated>
<entry>
<title>py: Use mp_raise_msg helper function where appropriate.</title>
<updated>2016-10-17T01:17:37+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-10-17T01:17:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7d0d7215d2575a2d36d34c9a13b58cade0610a28'/>
<id>urn:sha1:7d0d7215d2575a2d36d34c9a13b58cade0610a28</id>
<content type='text'>
Saves the following number of bytes of code space: 176 for bare-arm, 352
for minimal, 272 for unix x86-64, 140 for stmhal, 120 for esp8266.
</content>
</entry>
<entry>
<title>py: Update opcode format table because 3 opcodes were removed, 1 added.</title>
<updated>2016-09-23T02:48:57+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-09-23T02:48:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7df9291b6c33fb8b5ff3215939f7f563d235e8c4'/>
<id>urn:sha1:7df9291b6c33fb8b5ff3215939f7f563d235e8c4</id>
<content type='text'>
LIST_APPEND, MAP_ADD and SET_ADD have been removed, and STORE_COMP has
been added in adaf0d865cd6c81fb352751566460506392ed55f.
</content>
</entry>
<entry>
<title>py: Rename struct mp_code_state to mp_code_state_t.</title>
<updated>2016-08-27T13:21:00+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-08-27T13:21:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=581a59a456654e881a228a99f135777e0335f1e1'/>
<id>urn:sha1:581a59a456654e881a228a99f135777e0335f1e1</id>
<content type='text'>
Also at _t to mp_exc_stack pre-declaration in struct typedef.
</content>
</entry>
<entry>
<title>py: Fix bug passing a string as a keyword arg in a dict.</title>
<updated>2016-04-21T15:51:36+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-04-21T15:51:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=fea40ad46815cb372312f8ae223efcb3b879dd0f'/>
<id>urn:sha1:fea40ad46815cb372312f8ae223efcb3b879dd0f</id>
<content type='text'>
Addresses issue #1998.
</content>
</entry>
<entry>
<title>py/bc: Update opcode format table now that MP_BC_NOT opcode is gone.</title>
<updated>2016-01-28T16:11:41+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-01-28T16:11:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7b05b1b22526d28f15da4c656440ebc6ba1455b8'/>
<id>urn:sha1:7b05b1b22526d28f15da4c656440ebc6ba1455b8</id>
<content type='text'>
MP_BC_NOT was removed and the "not" operation made a proper unary
operator, and the opcode format table needs to be updated to reflect
this change (but actually the change is only cosmetic).
</content>
</entry>
<entry>
<title>py/bc: Use size_t instead of mp_uint_t to count size of state and args.</title>
<updated>2015-12-17T12:33:42+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-12-17T12:33:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1d899e1783dd966452a40c6c29d6d8b8f9cd0e46'/>
<id>urn:sha1:1d899e1783dd966452a40c6c29d6d8b8f9cd0e46</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.</title>
<updated>2015-11-29T14:25:35+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-11-27T17:01:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=999cedb90ff0827cdb9dfe0e4faa6ebc1739d271'/>
<id>urn:sha1:999cedb90ff0827cdb9dfe0e4faa6ebc1739d271</id>
<content type='text'>
This allows the mp_obj_t type to be configured to something other than a
pointer-sized primitive type.

This patch also includes additional changes to allow the code to compile
when sizeof(mp_uint_t) != sizeof(void*), such as using size_t instead of
mp_uint_t, and various casts.
</content>
</entry>
<entry>
<title>py: Make mp_setup_code_state take concrete pointer for func arg.</title>
<updated>2015-11-29T14:25:04+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-11-27T12:50:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9f6976b74e352d01bbfbb4b4d32465f9db5f3390'/>
<id>urn:sha1:9f6976b74e352d01bbfbb4b4d32465f9db5f3390</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Add MICROPY_PERSISTENT_CODE_LOAD/SAVE to load/save bytecode.</title>
<updated>2015-11-13T12:49:18+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-11-02T21:55:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d8c834c95d506db979ec871417de90b7951edc30'/>
<id>urn:sha1:d8c834c95d506db979ec871417de90b7951edc30</id>
<content type='text'>
MICROPY_PERSISTENT_CODE must be enabled, and then enabling
MICROPY_PERSISTENT_CODE_LOAD/SAVE (either or both) will allow loading
and/or saving of code (at the moment just bytecode) from/to a .mpy file.
</content>
</entry>
<entry>
<title>py: Add constant table to bytecode.</title>
<updated>2015-11-13T12:49:18+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-10-23T00:23:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=713ea1800d1f0c82a0c75885ad034705556ab5ef'/>
<id>urn:sha1:713ea1800d1f0c82a0c75885ad034705556ab5ef</id>
<content type='text'>
Contains just argument names at the moment but makes it easy to add
arbitrary constants.
</content>
</entry>
</feed>
