64 Commits (57a7d5be9ae3d367982c0f25b9f0215f58029faa)

Author SHA1 Message Date
Damien George 43f1848bfa py: Make viper functions have the same entry signature as native. 6 years ago
Damien George 07caf4f969 py/emit: Remove need to call set_native_type to set viper return type. 6 years ago
Damien George 4f3d9429b5 py: Fix native functions so they run with their correct globals context. 6 years ago
Damien George 436e0d4c54 py/emit: Merge build set/slice into existing build emit function. 7 years ago
Damien George 5e34a113ea py/runtime: Add MP_BINARY_OP_CONTAINS as reverse of MP_BINARY_OP_IN. 7 years ago
Damien George a3afa8cfc4 py/emitnative: Implement floor-division and modulo for viper emitter. 7 years ago
Damien George 0864a6957f py: Clean up unary and binary enum list to keep groups together. 7 years ago
Paul Sokolovsky 9d836fedbd py: Clarify which mp_unary_op_t's may appear in the bytecode. 7 years ago
Damien George 8edc2e4b14 py/runtime0: Add comments about unary/binary-op enums used in bytecode. 7 years ago
Paul Sokolovsky 9dce823cfd py/modbuiltins: Implement abs() by dispatching to MP_UNARY_OP_ABS. 7 years ago
Paul Sokolovsky eb84a830df py/runtime: Implement dispatch for "reverse op" special methods. 7 years ago
Paul Sokolovsky b8ee7ab5b9 py/runtime0.h: Put inplace arith ops in front of normal operations. 7 years ago
Paul Sokolovsky c460f6f15a py/runtime0.h: Regroup operations a bit. 7 years ago
Paul Sokolovsky 6d4cac088e py/objtype: Make sure mp_binary_op_method_name has full size again. 7 years ago
Paul Sokolovsky 50b9329eba py/runtime0.h: Move MP_BINARY_OP_DIVMOD to the end of mp_binary_op_t. 7 years ago
Paul Sokolovsky d4d1c45a55 py/runtime0.h: Move relational ops to the beginning of mp_binary_op_t. 7 years ago
Paul Sokolovsky bfc2092dc5 py/modsys: Initial implementation of sys.getsizeof(). 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Alexander Steffen 299bc62586 all: Unify header guard usage. 7 years ago
Damien George dd11af209d py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls. 8 years ago
Damien George 088740ecc4 py: Optimise storage of iterator so it takes only 4 slots on Py stack. 8 years ago
Damien George 5f3e005b67 py: Extend native type-sig to use 4 bits, so uint is separate to ptr. 9 years ago
Damien George bdbe8c9ae2 py: Make UNARY_OP_NOT a first-class op, to agree with Py not semantics. 9 years ago
Damien George 3a3db4dcf0 py: Put all bytecode state (arg count, etc) in bytecode. 9 years ago
Damien George 7f70b60f4d py: Remove unused compile scope flags, and irrelevant flag compute code. 9 years ago
Damien George 59fba2d6ea py: Remove mp_load_const_bytes and instead load precreated bytes object. 10 years ago
Damien George ed570e4b2a py: Remove mp_load_const_str and replace uses with inlined version. 10 years ago
Damien George c5029bcbf3 py: Add MP_BINARY_OP_DIVMOD to simplify and consolidate divmod builtin. 10 years ago
Damien George c2a4e4effc py: Convert hash API to use MP_UNARY_OP_HASH instead of ad-hoc function. 10 years ago
Damien George 9988618e0e py: Implement full func arg passing for native emitter. 10 years ago
Damien George 78772ada0d py: Implement calling functions with *args in native emitter. 10 years ago
Damien George 4cd9ced8dc py: Implement closures in native code generator. 10 years ago
Damien George 7d414a1b52 py: Parse big-int/float/imag constants directly in parser. 10 years ago
Paul Sokolovsky 8ab6f90674 py: Move to guarded includes for compile.h and related headers. 10 years ago
Damien George d6230f62c7 py: Make native emitter handle multi-compare and not/is not/not in ops. 10 years ago
Damien George e6ce10a3e7 py: Native emitter now supports delete name & global, and end finally. 10 years ago
Damien George 7fe2191c9b py: Code clean-up in native emitter; improve thumb native calls. 10 years ago
Damien George 86de21b810 py: Viper can call functions with native types, and raise exceptions. 10 years ago
Damien George e6c0dff967 py: Viper can now store to global. 10 years ago
Damien George 2ac4af6946 py: Allow viper to have type annotations. 10 years ago
Damien George c49ddb9315 py: Fix configurability of builtin slice. 11 years ago
Damien George 3ebd4d0cae py: Add option to disable set() object (enabled by default). 11 years ago
Damien George 503d611033 py: Implement long int parsing in int(...). 11 years ago
Paul Sokolovsky 070c78af5d runtime0.h: Group binary ops by fives. 11 years ago
Damien George a32c1e41cc py: Improve native emitter; now supports more opcodes. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George 729f7b42d6 py: Merge BINARY_OP_SUBSCR and store_subscr (w/ delete) into subscr. 11 years ago
Damien George df8127a17e py: Remove unique_codes from emitglue.c. Replace with pointers. 11 years ago
Damien George 78035b995f py, compiler: Clean up and compress scope/compile structures. 11 years ago
Damien George cdd96dff2c py: Implement more features in native emitter. 11 years ago