1. 19 Oct, 2015 1 commit
  2. 16 Oct, 2015 1 commit
  3. 19 Apr, 2015 1 commit
  4. 16 Apr, 2015 1 commit
  5. 11 Apr, 2015 1 commit
  6. 07 Apr, 2015 1 commit
    • Damien George's avatar
      py: Implement full func arg passing for native emitter. · 9988618e
      Damien George authored
      This patch gets full function argument passing working with native
      emitter.  Includes named args, keyword args, default args, var args
      and var keyword args.  Fully Python compliant.
      
      It reuses the bytecode mp_setup_code_state function to do all the hard
      work.  This function is slightly adjusted to accommodate native calls,
      and the native emitter is forced a bit to emit similar prelude and
      code-info as bytecode.
      9988618e
  7. 03 Mar, 2015 2 commits
  8. 02 Mar, 2015 1 commit
  9. 25 Feb, 2015 1 commit
  10. 24 Feb, 2015 4 commits
  11. 16 Feb, 2015 2 commits
  12. 13 Feb, 2015 4 commits
  13. 12 Feb, 2015 1 commit
  14. 01 Jan, 2015 1 commit
  15. 20 Dec, 2014 1 commit
  16. 10 Dec, 2014 1 commit
  17. 29 Sep, 2014 2 commits
  18. 08 Sep, 2014 1 commit
  19. 15 Aug, 2014 1 commit
  20. 17 Jul, 2014 1 commit
  21. 21 Jun, 2014 1 commit
  22. 19 Jun, 2014 1 commit
  23. 10 May, 2014 1 commit
  24. 07 May, 2014 1 commit
  25. 03 May, 2014 1 commit
    • Damien George's avatar
      Add license header to (almost) all files. · 04b9147e
      Damien George authored
      Blanket wide to all .c and .h files.  Some files originating from ST are
      difficult to deal with (license wise) so it was left out of those.
      
      Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
      04b9147e
  26. 27 Apr, 2014 1 commit
  27. 26 Apr, 2014 1 commit
  28. 21 Apr, 2014 1 commit
  29. 18 Apr, 2014 1 commit
  30. 13 Apr, 2014 1 commit
    • Damien George's avatar
      py: Remove unique_codes from emitglue.c. Replace with pointers. · df8127a1
      Damien George authored
      Attempt to address issue #386.  unique_code_id's have been removed and
      replaced with a pointer to the "raw code" information.  This pointer is
      stored in the actual byte code (aligned, so the GC can trace it), so
      that raw code (ie byte code, native code and inline assembler) is kept
      only for as long as it is needed.  In memory it's now like a tree: the
      outer module's byte code points directly to its children's raw code.  So
      when the outer code gets freed, if there are no remaining functions that
      need the raw code, then the children's code gets freed as well.
      
      This is pretty much like CPython does it, except that CPython stores
      indexes in the byte code rather than machine pointers.  These indices
      index the per-function constant table in order to find the relevant
      code.
      df8127a1
  31. 12 Apr, 2014 1 commit
    • Damien George's avatar
      py: Big improvements to inline assembler. · 87210876
      Damien George authored
      Improved the Thumb assembler back end.  Added many more Thumb
      instructions to the inline assembler.  Improved parsing of assembler
      instructions and arguments.  Assembler functions can now be passed the
      address of any object that supports the buffer protocol (to get the
      address of the buffer).  Added an example of how to sum numbers from
      an array in assembler.
      87210876