1. 13 Jan, 2015 1 commit
  2. 01 Jan, 2015 3 commits
  3. 27 Dec, 2014 2 commits
    • Damien George's avatar
      py: Allow to properly disable builtin slice operation. · 83204f34
      Damien George authored
      This patch makes the MICROPY_PY_BUILTINS_SLICE compile-time option
      fully disable the builtin slice operation (when set to 0).  This
      includes removing the slice sytanx from the grammar.  Now, enabling
      slice costs 4228 bytes on unix x64, and 1816 bytes on stmhal.
      83204f34
    • Damien George's avatar
      py: Allow to properly disable builtin "set" object. · e37dcaaf
      Damien George authored
      This patch makes MICROPY_PY_BUILTINS_SET compile-time option fully
      disable the builtin set object (when set to 0).  This includes removing
      set constructor/comprehension from the grammar, the compiler and the
      emitters.  Now, enabling set costs 8168 bytes on unix x64, and 3576
      bytes on stmhal.
      e37dcaaf
  4. 19 Oct, 2014 1 commit
  5. 12 Oct, 2014 3 commits
  6. 03 Oct, 2014 2 commits
  7. 29 Sep, 2014 6 commits
  8. 23 Sep, 2014 1 commit
  9. 15 Sep, 2014 1 commit
  10. 12 Sep, 2014 1 commit
    • Damien George's avatar
      py: Load strings as objects when compiling viper. · bb295468
      Damien George authored
      Eventually, viper wants to be able to use raw pointers to strings and
      arrays for efficient access.  But for now, let's just load strings as a
      Python object so they can be used as normal.  This will anyway be
      compatible with eventual intended viper behaviour.
      
      Addresses issue #857.
      bb295468
  11. 08 Sep, 2014 2 commits
  12. 07 Sep, 2014 1 commit
  13. 06 Sep, 2014 4 commits
  14. 03 Sep, 2014 1 commit
  15. 29 Aug, 2014 1 commit
  16. 27 Aug, 2014 1 commit
  17. 16 Aug, 2014 2 commits
  18. 15 Aug, 2014 3 commits
  19. 03 Jul, 2014 1 commit
  20. 30 Jun, 2014 1 commit
    • Damien George's avatar
      py: Improvements to native emitter. · b601d957
      Damien George authored
      Native emitter can now compile try/except blocks using nlr_push/nlr_pop.
      It probably only works for 1 level of exception handling.  It doesn't
      work on Thumb (only x64).
      
      Native emitter can also handle some additional op codes.
      
      With this patch, 198 tests now pass using "-X emit=native" option to
      micropython.
      b601d957
  21. 22 Jun, 2014 1 commit
  22. 21 Jun, 2014 1 commit