51 Commits (d532c55e3b8ee7955bea99fc79ccd74d9a35f757)

Author SHA1 Message Date
Damien George 627ba38154 py/parsenum: Optimise when building with complex disabled. 2 years ago
Damien George b37b578214 py/persistentcode: Remove remaining native qstr linking support. 2 years ago
Damien George d4d53e9e11 py/emitnative: Access qstr values using indirection table qstr_table. 3 years ago
Damien George 1fb01bd6c5 py/emitnative: Put a pointer to the native prelude in child_table array. 3 years ago
Damien George b295b6f1f3 py/persistentcode: Remove obsolete comment about qstr window size. 3 years ago
Damien George 4ca96983ff py/persistentcode: Support loading and saving tuples in .mpy files. 3 years ago
Damien George 42d0bd2c17 py/persistentcode: Define enum values for obj types instead of letters. 3 years ago
David Lechner 768879f999 py/smallint: Introduce MP_SMALL_INT_BITS macro. 3 years ago
Damien George 962ad8622e py/parse: Handle check for target small-int size in parser. 3 years ago
Damien George f2040bfc7e py: Rework bytecode and .mpy file format to be mostly static data. 3 years ago
Damien George ad4656b861 all: Rename BYTES_PER_WORD to MP_BYTES_PER_OBJ_WORD. 4 years ago
David CARLIER cb30928ac8 py/persistentcode: Introduce MICROPY_PERSISTENT_CODE_SAVE_FILE option. 4 years ago
Damien George 9883d8e818 py/persistentcode: Maintain root ptr list of imported native .mpy code. 4 years ago
Jim Mussared def76fe4d9 all: Use MP_ERROR_TEXT for all error messages. 5 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
David Lechner 62537a18e3 py: Release GIL during syscalls in reader and writer code. 5 years ago
Damien George 0bd7d1f7f0 py/persistentcode: Move loading of rodata/bss to before obj/raw-code. 5 years ago
Damien George 9ac949cdbd py/persistentcode: Make ARM Thumb archs support multiple sub-archs. 5 years ago
Damien George 360d972c16 py/nativeglue: Add new header file with native function table typedef. 5 years ago
Damien George b47e155bd0 py/persistentcode: Add ability to relocate loaded native code. 5 years ago
Damien George f4601af10a py/persistentcode: Move declarations for .mpy header from .c to .h file. 5 years ago
Damien George 23f0691fdd py/persistentcode: Make .mpy more compact with qstr directly in prelude. 5 years ago
Damien George 9adedce42e py: Add new Xtensa-Windowed arch for native emitter. 5 years ago
Damien George c8c0fd4ca3 py: Rework and compress second part of bytecode prelude. 5 years ago
Damien George b5ebfadbd6 py: Compress first part of bytecode prelude. 5 years ago
Damien George 1f7202d122 py/bc: Replace big opcode format table with simple macro. 5 years ago
stijn 22131a6738 py/persistentcode: Enable persistent code saving for Windows ports. 7 years ago
Paul m. p. P 2920d26af5 py/persistentcode: Ensure prelude_offset is always initialised. 5 years ago
Jun Wu d165a401dc py/persistentcode: Fix compilation with load and save both enabled. 6 years ago
Henrik Vendelbo ab93321e31 py/persistentcode: Change "len" type to size_t for mp_obj_str_get_data. 6 years ago
Damien George 7e90e22ea5 mpy-cross: Add --version command line option to print version info. 6 years ago
Damien George d9d92f27d7 py/compile: Add support to select the native emitter at runtime. 6 years ago
Damien George 9a5f92ea72 py/persistentcode: Bump .mpy version to 4. 6 years ago
Damien George 1396a026be py: Add support to save native, viper and asm code to .mpy files. 6 years ago
Damien George 636ed0ff8d py/emitglue: Remove union in mp_raw_code_t to combine bytecode & native. 6 years ago
Damien George 4f0931b21f py/persistentcode: Define static qstr set to reduce size of mpy files. 6 years ago
Damien George 992a6e1dea py/persistentcode: Pack qstrs directly in bytecode to reduce mpy size. 6 years ago
Damien George 5996eeb48f py/persistentcode: Add a qstr window to save mpy files more efficiently. 6 years ago
Damien George eee1e8841a py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
Sean Burton e33bc59712 py: Remove calls to file reader functions when these are disabled. 6 years ago
Damien George 5604b710c2 py/emitglue: When assigning bytecode only pass bytecode len if needed. 7 years ago
Damien George ff93fd4f50 py/persistentcode: Bump .mpy version number to version 3. 7 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 7 years ago
Anton Patrushev f008263022 py/persistentcode: Define mp_raw_code_save_file() for any unix target. 7 years ago
Damien George 72732fea1a py/persistentcode: Allow to compile with complex numbers disabled. 8 years ago
Damien George dd11af209d py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls. 8 years ago
Damien George 1831034be1 py: Allow lexer to raise exceptions during construction. 8 years ago
Damien George 6a11048af1 py/persistentcode: Bump .mpy version due to change in bytecode. 8 years ago
Damien George 891dc5c62c py/persistentcode: Replace mp_uint_t with size_t where appropriate. 8 years ago
Damien George 6b239c271c py: Factor out persistent-code reader into separate files. 8 years ago