<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/emitglue.h, branch 0.8.4</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=0.8.4</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=0.8.4'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-11-16T05:14:14+00:00</updated>
<entry>
<title>py: Factor persistent code load/save funcs into persistentcode.[ch].</title>
<updated>2016-11-16T05:14:14+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-11-16T00:55:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6810f2c134f9329e9dc18f4e0d3a1936ca6d8011'/>
<id>urn:sha1:6810f2c134f9329e9dc18f4e0d3a1936ca6d8011</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/emitglue: Make mp_raw_code_t* arguments constant pointers.</title>
<updated>2016-04-13T15:05:43+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-01-31T22:19:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ed0c11236f2fc0d90d826f98cafdb65be99eb6b6'/>
<id>urn:sha1:ed0c11236f2fc0d90d826f98cafdb65be99eb6b6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/emitglue: Move typedef of mp_raw_code_t from .c to .h file.</title>
<updated>2016-04-13T15:05:43+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-01-31T22:19:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6d24dc23b82ea7cc62b9c55de91c98330c2675ee'/>
<id>urn:sha1:6d24dc23b82ea7cc62b9c55de91c98330c2675ee</id>
<content type='text'>
It's needed by frozen bytecode.
</content>
</entry>
<entry>
<title>py/emitglue: Add mp_raw_code_load_mem to load raw-code from memory.</title>
<updated>2015-11-20T12:44:20+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-11-20T12:44:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b5b1f2c527f26dbf56ef1fcb0100eccc8ad0b97e'/>
<id>urn:sha1:b5b1f2c527f26dbf56ef1fcb0100eccc8ad0b97e</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>
<entry>
<title>py: Put all bytecode state (arg count, etc) in 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-22T22:45:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3a3db4dcf0400cffef860f61a84979cb1f7a7541'/>
<id>urn:sha1:3a3db4dcf0400cffef860f61a84979cb1f7a7541</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Implement full func arg passing for native emitter.</title>
<updated>2015-04-07T21:43:28+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-04-06T21:38:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9988618e0e0f5c319e31b135d993e22efb593093'/>
<id>urn:sha1:9988618e0e0f5c319e31b135d993e22efb593093</id>
<content type='text'>
This patch gets full function argument passing working with native
emitter.  Includes named args, keyword args, default args, var args
and var keyword args.  Fully Python compliant.

It reuses the bytecode mp_setup_code_state function to do all the hard
work.  This function is slightly adjusted to accommodate native calls,
and the native emitter is forced a bit to emit similar prelude and
code-info as bytecode.
</content>
</entry>
<entry>
<title>py: Don't use anonymous unions, name them instead.</title>
<updated>2015-01-24T23:14:12+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-24T23:14:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=32444b759a1b4f339908f65ee8f50a21eee7d16c'/>
<id>urn:sha1:32444b759a1b4f339908f65ee8f50a21eee7d16c</id>
<content type='text'>
This makes the code (more) compatible with the C99 standard.
</content>
</entry>
<entry>
<title>py: Move to guarded includes, everywhere in py/ core.</title>
<updated>2015-01-01T20:32:09+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-01T20:27:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=51dfcb4bb7613ed164952712d9a5235a7b833cde'/>
<id>urn:sha1:51dfcb4bb7613ed164952712d9a5235a7b833cde</id>
<content type='text'>
Addresses issue #1022.
</content>
</entry>
</feed>
