summaryrefslogtreecommitdiffstatshomepage
path: root/py/frozenmod.c
Commit message (Collapse)AuthorAge
* py: Allow to stat and import frozen mpy files using new frozen "VFS".Damien George2016-05-23
| | | | Freezing mpy files using mpy-tool.py now works again.
* py/{builtinimport,frozenmod}: Rework frozen modules support to support packages.Paul Sokolovsky2016-05-21
| | | | | | | | | | 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).
* py/frozenmod: Pass the source name of the frozen module to the lexer.Damien George2016-04-17
| | | | | 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.
* py: Add ability to have frozen persistent bytecode from .mpy files.Damien George2016-04-13
| | | | | | | 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).
* py/frozenmod: Allow port to override lexer to use for frozen modules.Paul Sokolovsky2016-03-16
|
* py/frozenmod: Store frozen module names together, to quickly scan them.Paul Sokolovsky2016-01-03
|
* py/frozenmod: Make frozen module content be 0-terminated.Paul Sokolovsky2016-01-01
| | | | To allow simple zero-terminated lexers.
* frozenmod: Include header with function prototypes.Paul Sokolovsky2015-05-31
|
* py: Implement very simple frozen modules support.Paul Sokolovsky2015-01-20
Only modules (not packages) supported now. Source modules can be converted to frozen module structures using tools/make-frozen.py script.