<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/runtime0.h, branch v1.0.1</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.0.1</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.0.1'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2014-05-10T01:44:55+00:00</updated>
<entry>
<title>runtime0.h: Group binary ops by fives.</title>
<updated>2014-05-10T01:44:55+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-05-10T01:24:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=070c78af5da2d202cece21f0ec24f549aa0f52fb'/>
<id>urn:sha1:070c78af5da2d202cece21f0ec24f549aa0f52fb</id>
<content type='text'>
So one has some chance to convert numeric op code into symbol.
</content>
</entry>
<entry>
<title>py: Improve native emitter; now supports more opcodes.</title>
<updated>2014-05-07T17:30:52+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-05-07T17:30:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a32c1e41cc28c5f7cd95191918cebd0e447a2fce'/>
<id>urn:sha1:a32c1e41cc28c5f7cd95191918cebd0e447a2fce</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add license header to (almost) all files.</title>
<updated>2014-05-03T22:27:38+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-05-03T22:27:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=04b9147e150d2d6fa3750f312fe328b6a71c1b28'/>
<id>urn:sha1:04b9147e150d2d6fa3750f312fe328b6a71c1b28</id>
<content type='text'>
Blanket wide to all .c and .h files.  Some files originating from ST are
difficult to deal with (license wise) so it was left out of those.

Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
</content>
</entry>
<entry>
<title>py: Merge BINARY_OP_SUBSCR and store_subscr (w/ delete) into subscr.</title>
<updated>2014-04-17T21:10:53+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-17T21:10:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=729f7b42d65c016c9d5f27fb8a8122869f06c129'/>
<id>urn:sha1:729f7b42d65c016c9d5f27fb8a8122869f06c129</id>
<content type='text'>
mp_obj_t-&gt;subscr now does load/store/delete.
</content>
</entry>
<entry>
<title>py: Remove unique_codes from emitglue.c.  Replace with pointers.</title>
<updated>2014-04-13T10:04:33+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-13T10:04:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=df8127a17eeb3057e820180e318ec3d915111b6a'/>
<id>urn:sha1:df8127a17eeb3057e820180e318ec3d915111b6a</id>
<content type='text'>
Attempt to address issue #386.  unique_code_id's have been removed and
replaced with a pointer to the "raw code" information.  This pointer is
stored in the actual byte code (aligned, so the GC can trace it), so
that raw code (ie byte code, native code and inline assembler) is kept
only for as long as it is needed.  In memory it's now like a tree: the
outer module's byte code points directly to its children's raw code.  So
when the outer code gets freed, if there are no remaining functions that
need the raw code, then the children's code gets freed as well.

This is pretty much like CPython does it, except that CPython stores
indexes in the byte code rather than machine pointers.  These indices
index the per-function constant table in order to find the relevant
code.
</content>
</entry>
<entry>
<title>py, compiler: Clean up and compress scope/compile structures.</title>
<updated>2014-04-09T11:27:39+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-09T11:27:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=78035b995ff7bd518cc1291aa70c966b53510fd9'/>
<id>urn:sha1:78035b995ff7bd518cc1291aa70c966b53510fd9</id>
<content type='text'>
Convert int types to uint where sensible, and then to uint8_t or
uint16_t where possible to reduce RAM usage.
</content>
</entry>
<entry>
<title>py: Implement more features in native emitter.</title>
<updated>2014-04-06T11:58:40+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-06T11:58:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=cdd96dff2c017c952a238989c10f70143a8dd7d3'/>
<id>urn:sha1:cdd96dff2c017c952a238989c10f70143a8dd7d3</id>
<content type='text'>
On x64, native emitter now passes 70 of the tests.
</content>
</entry>
<entry>
<title>Rename rt_* to mp_*.</title>
<updated>2014-03-30T12:35:08+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-03-30T12:35:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d17926db710189db97a49e9b2e72d782fc404231'/>
<id>urn:sha1:d17926db710189db97a49e9b2e72d782fc404231</id>
<content type='text'>
Mostly just a global search and replace.  Except rt_is_true which
becomes mp_obj_is_true.

Still would like to tidy up some of the names, but this will do for now.
</content>
</entry>
<entry>
<title>py: Factor out code from runtime.c to emitglue.c.</title>
<updated>2014-03-27T23:26:35+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-03-27T23:26:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2326d52d2056aace9c5eddd170fe6ad4186e39e8'/>
<id>urn:sha1:2326d52d2056aace9c5eddd170fe6ad4186e39e8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Support passing positional args as keywords to bytecode functions.</title>
<updated>2014-02-16T16:36:33+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-02-16T16:30:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ac2e28c6547f34d961e8b0a0ede323c9c32b5315'/>
<id>urn:sha1:ac2e28c6547f34d961e8b0a0ede323c9c32b5315</id>
<content type='text'>
For this, record argument names along with each bytecode function. The code
still includes extensive debug logging support so far.
</content>
</entry>
</feed>
