111 Commits (0288cf020ebfa9026bb8a30f5708b44bc8a82feb)

Author SHA1 Message Date
Damien George 0288cf020e py: Implement compiling of *-expr within parenthesis. 11 years ago
Damien George 57e99ebc86 py: Add simple way of looking up constants in compiler. 11 years ago
Damien George d66ae18640 py: Simplify stack get/set to become stack adjust in emitters. 11 years ago
Damien George 069a35e3a5 py, compiler: Improve stack depth counting. 11 years ago
Damien George 6f355fd3b9 py: Make labels unsigned ints (converted from int). 11 years ago
Damien George 635543c72c py, compiler: Implement compiling of relative imports. 11 years ago
Damien George 2bf7c09222 py: Properly implement deletion of locals and derefs, and detect errors. 11 years ago
Damien George 11d8cd54c9 py, compiler: Turn id_info_t.param into a set of flags. 11 years ago
Damien George b140bff877 py, compile: Simplify initialisation of compiler structure. 11 years ago
Damien George 02a4c05c5f py, compile: Reduce size of compiler structure. 11 years ago
Damien George 922ddd6415 py, compile: Combine have_star_arg, have_dbl_star_arg into star_flags. 11 years ago
Damien George 78035b995f py, compiler: Clean up and compress scope/compile structures. 11 years ago
Damien George 495d781a36 py: implement UNPACK_EX byte code (for: a, *b, c = d) 11 years ago
Damien George b7ffdcc1c7 py: Improve compiler syntax errors; catch more errors. 11 years ago
Damien George cdd96dff2c py: Implement more features in native emitter. 11 years ago
Damien George 65cad12d38 py: Add option to compiler to specify default code emitter. 11 years ago
Damien George af27259439 py: Enable optimisation of multiplying 2 small ints in compiler. 11 years ago
Damien George ecf5b77123 py: This time, real proper overflow checking of small int power. 11 years ago
Damien George 094d450003 py: Wrap compile_scope_inline_asm in #if; remove comment from misc.h. 11 years ago
Damien George af6edc61bd py: Enable a jump optimisation in the compiler. 11 years ago
Damien George 882b363564 py: Move to Python 3.4.0 compatibility. 11 years ago
Damien George 3ff2d03891 py: Fix bug in optimised for .. range. 11 years ago
Damien George e337f1ef5e py: Towards default keyword arguments. 11 years ago
Damien George 3056509e00 py: Rename and reorder parameters in emit_make_function/closure. 11 years ago
Paul Sokolovsky 96eec4f8a6 compile: Don't try to constant-fold division by zero. 11 years ago
Damien George 804760bfca py: Fix bug in compiler for empty class bases. 11 years ago
Damien George d17926db71 Rename rt_* to mp_*. 11 years ago
Paul Sokolovsky 8d9cc2e669 compile: Print error messages on unimplemented relative imports. 11 years ago
Damien George d1e443d0bc py: Free unique_code slot for outer module. 11 years ago
Paul Sokolovsky 44307d5ef8 vm: Implement "with" statement (SETUP_WITH and WITH_CLEANUP bytecodes). 11 years ago
Damien George 2326d52d20 py: Factor out code from runtime.c to emitglue.c. 11 years ago
Damien George 8dcc0c7924 py: Calculate maximum exception stack size in compiler. 11 years ago
Damien George bdcbf0fcd1 py: Restore CPython compatibility in compiler for closures with def args. 11 years ago
Paul Sokolovsky 2447a5b582 py: Support closures with default args. 11 years ago
Rachel Dowdall 2d15deebdc Fixed floor division on mp ints and small ints. Added a floordivide test case. 11 years ago
Rachel Dowdall 56402796d8 Fixed floor division on mp ints and small ints. Added a floordivide test case. 11 years ago
Rachel Dowdall cde8631f15 Fixed modulo operator on ints and mp ints to agree with python. Added intdivmod.c and tests/basics/modulo.py. 11 years ago
xbe efe3422394 py: Clean up includes. 11 years ago
Damien George f41fdd05b0 py: Unify syntax error handling in compiler; check defualt arg syntax. 11 years ago
Damien George 1dc76af7bf py: Remove name of var arg from macros with var args. 11 years ago
Paul Sokolovsky 56e5ef203b parse: Refactor parse node encoding to support full range of small ints. 11 years ago
Paul Sokolovsky bbf0e2fe12 parse: Note that fact that parser's small ints are different than VM small int. 11 years ago
Paul Sokolovsky a1aba36feb compile: Add comments ergarding non-implemented relative imports. 11 years ago
Damien George 8725f8f7de py: Pass all scope flags through to runtime. 11 years ago
Paul Sokolovsky 520e2f58a5 Replace global "static" -> "STATIC", to allow "analysis builds". Part 2. 11 years ago
Paul Sokolovsky 2f0b026a44 Clean up handling of function return type annotation. 11 years ago
Damien George bbcd49a496 py: Fix compile of class with keyword arguments in bases. 11 years ago
Damien George 35e2a4e6bb py: Add built-in super. 11 years ago
Damien George 9aa2a527b5 py: Tidy up BINARY_OPs; negation done by special NOT bytecode. 11 years ago
Damien George 7e5fb24e3b py: Reduce code size of compiler by a bit. 11 years ago