summaryrefslogtreecommitdiffstatshomepage
path: root/py/emitcpy.c
Commit message (Collapse)AuthorAge
* py: Improve freeing of emitters in mp_compile.Damien George2014-01-24
| | | | | There can be multiple emitters allocated during compile (eg byte code and native).
* Add support for freeing code emitter objects at the end of compilation.Paul Sokolovsky2014-01-24
|
* Revamp qstrs: they now include length and hash.Damien George2014-01-21
| | | | | Can now have null bytes in strings. Can define ROM qstrs per port using qstrdefsport.h
* Add source file name and line number to error messages.Damien George2014-01-18
| | | | | Byte code has a map from byte-code offset to source-code line number, used to give better error messages.
* py: Fix emitcpy and emitnative's binary_op.Damien George2014-01-11
|
* unified the bopsJohn R. Lenton2014-01-11
|
* Improve configurability for native x64/thumb emitter.Damien George2014-01-04
| | | | | | With MICROPY_EMIT_X64 and MICROPY_EMIT_THUMB disabled, the respective emitters and assemblers will not be included in the code. This can significantly reduce binary size for unix version.
* Change mp_compile so that it returns a function object for the module.Damien George2014-01-03
|
* Add unix-cpy, used to test Micro Python byte code against CPython.Damien2013-12-29
|
* Change object representation from 1 big union to individual structs.Damien2013-12-21
| | | | | | | | | | A big change. Micro Python objects are allocated as individual structs with the first element being a pointer to the type information (which is itself an object). This scheme follows CPython. Much more flexible, not necessarily slower, uses same heap memory, and can allocate objects statically. Also change name prefix, from py_ to mp_ (mp for Micro Python).
* py: remove further unnecessary emit_verbatim code.Damien2013-12-12
|
* py: work towards working closures.Damien2013-12-11
|
* Add local_num skeleton framework to deref/closure emit calls.Damien2013-10-20
|
* Abstract out back-end stream functionality from lexer.Damien2013-10-20
|
* Change ifdef/if defined to simple if's.Damien2013-10-12
|
* Separate out mpy core and unix version.Damien2013-10-12
|
* Implement basic class/object functionality in runtime.Damien2013-10-09
|
* Add support for inline thumb assembly.Damien2013-10-05
|
* Implement built-in decorators to select emit type.Damien2013-10-05
|
* Factorise EMIT_COMMON calls, mostly into emit_pass1.Damien2013-10-05
|
* Compiler computes labels and max_num_labels.Damien2013-10-05
|
* Further factorise PASS_1 out of specific emit code.Damien2013-10-05
|
* Restructure emit so it goes through a method table.Damien2013-10-05
|
* Initial commit.Damien2013-10-04