45 Commits (d91c1170ca489b6f754918e678ed412a246eb8cc)

Author SHA1 Message Date
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
Damien George d17926db71 Rename rt_* to mp_*. 11 years ago
Damien George 2326d52d20 py: Factor out code from runtime.c to emitglue.c. 11 years ago
Paul Sokolovsky ac2e28c654 Support passing positional args as keywords to bytecode functions. 11 years ago
Damien George 8725f8f7de py: Pass all scope flags through to runtime. 11 years ago
Damien George cd82e02e84 py: Partially fix native emitter to work with latest runtime. 11 years ago
Damien George 9aa2a527b5 py: Tidy up BINARY_OPs; negation done by special NOT bytecode. 11 years ago
Paul Sokolovsky c1d9bbc345 Implement __bool__ and __len__ via unary_op virtual method for all types. 11 years ago
Damien George d0691ccaec py: Simplify fastn in VM; reduce size of unique code struct. 11 years ago
Damien George e4b6a079b3 py: Implement 'not' in compiler, and improve rt_is_true. 11 years ago
Damien George bc1d36924d py: Fix emitcpy and emitnative's binary_op. 11 years ago
John R. Lenton b8698fca75 unified the bops 11 years ago
ian-v 5fd8fd2c16 Revert MP_BOOL, etc. and use <stdbool.h> instead 11 years ago
ian-v 7a16fadbf8 Co-exist with C++ (issue #85) 11 years ago
Damien George eb7bfcb286 Split qstr into pools, and put initial pool in ROM. 11 years ago
Damien George 6baf76e28b py: make closures work. 11 years ago
Damien d99b05282d Change object representation from 1 big union to individual structs. 11 years ago