<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/frozenmod.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-05-23T11:42:23+00:00</updated>
<entry>
<title>py: Allow to stat and import frozen mpy files using new frozen "VFS".</title>
<updated>2016-05-23T11:42:23+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-05-23T11:42:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=274952a1174efe27fa90dd793587837584712358'/>
<id>urn:sha1:274952a1174efe27fa90dd793587837584712358</id>
<content type='text'>
Freezing mpy files using mpy-tool.py now works again.
</content>
</entry>
<entry>
<title>py/{builtinimport,frozenmod}: Rework frozen modules support to support packages.</title>
<updated>2016-05-21T18:38:50+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-05-21T18:33:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=fb742cdc1215c5444cbe9e10f37fecb4ffce0006'/>
<id>urn:sha1:fb742cdc1215c5444cbe9e10f37fecb4ffce0006</id>
<content type='text'>
Now frozen modules is treated just as a kind of VFS, and all operations
performed on it correspond to operations on normal filesystem. This allows
to support packages properly, and potentially also data files.

This change also have changes to rework frozen bytecode modules support to
use the same framework, but it's not finished (and actually may not work,
as older adhox handling of any type of frozen modules is removed).
</content>
</entry>
<entry>
<title>py/frozenmod: Pass the source name of the frozen module to the lexer.</title>
<updated>2016-04-17T11:37:00+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-04-17T11:37:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=31480fb91b69819ed9d37d8ffc1160cb03fe81ea'/>
<id>urn:sha1:31480fb91b69819ed9d37d8ffc1160cb03fe81ea</id>
<content type='text'>
This allows for better error messages, since the name of the file (sans
.py) can now be printed when an exception occurs within a frozen script.
</content>
</entry>
<entry>
<title>py: Add ability to have frozen persistent bytecode from .mpy files.</title>
<updated>2016-04-13T15:07:47+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-01-31T22:24:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0a2e9650f5383bc1190d6b27a3d923e313c3d879'/>
<id>urn:sha1:0a2e9650f5383bc1190d6b27a3d923e313c3d879</id>
<content type='text'>
The config variable MICROPY_MODULE_FROZEN is now made of two separate
parts: MICROPY_MODULE_FROZEN_STR and MICROPY_MODULE_FROZEN_MPY.  This
allows to have none, either or both of frozen strings and frozen mpy
files (aka frozen bytecode).
</content>
</entry>
<entry>
<title>py/frozenmod: Allow port to override lexer to use for frozen modules.</title>
<updated>2016-03-16T10:42:37+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-03-16T10:42:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=52e062ef3396bb94381073547f0dff7b36a6815d'/>
<id>urn:sha1:52e062ef3396bb94381073547f0dff7b36a6815d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/frozenmod: Store frozen module names together, to quickly scan them.</title>
<updated>2016-01-03T16:08:45+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-01-03T16:08:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=17f324b83655e68b064f0637f5190000ea0e1f12'/>
<id>urn:sha1:17f324b83655e68b064f0637f5190000ea0e1f12</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/frozenmod: Make frozen module content be 0-terminated.</title>
<updated>2016-01-01T05:51:07+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-01-01T05:51:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0992588811df90154759f9af6261f07e69cf784a'/>
<id>urn:sha1:0992588811df90154759f9af6261f07e69cf784a</id>
<content type='text'>
To allow simple zero-terminated lexers.
</content>
</entry>
<entry>
<title>frozenmod: Include header with function prototypes.</title>
<updated>2015-05-31T20:02:04+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-05-31T19:37:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=18fda7b42f1063f7b1d34c87a0d8697f28b0f312'/>
<id>urn:sha1:18fda7b42f1063f7b1d34c87a0d8697f28b0f312</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Implement very simple frozen modules support.</title>
<updated>2015-01-20T09:52:12+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-01-20T09:52:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=640e0b221e972f9a2da2d870bf3fc5a93c18f0ec'/>
<id>urn:sha1:640e0b221e972f9a2da2d870bf3fc5a93c18f0ec</id>
<content type='text'>
Only modules (not packages) supported now. Source modules can be converted
to frozen module structures using tools/make-frozen.py script.
</content>
</entry>
</feed>
