1. 16 Jan, 2015 2 commits
  2. 14 Jan, 2015 3 commits
  3. 13 Jan, 2015 2 commits
  4. 10 Jan, 2015 1 commit
  5. 01 Jan, 2015 1 commit
  6. 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
  7. 21 Dec, 2014 2 commits
  8. 20 Dec, 2014 1 commit
  9. 12 Dec, 2014 1 commit
    • Damien George's avatar
      py: Fix optimised for-loop compiler so it follows proper semantics. · e181c0dc
      Damien George authored
      You can now assign to the range end variable and the for-loop still
      works correctly.  This fully addresses issue #565.
      
      Also fixed a bug with the stack not being fully popped when breaking out
      of an optimised for-loop (and it's actually impossible to write a test
      for this case!).
      e181c0dc
  10. 11 Dec, 2014 1 commit
  11. 10 Dec, 2014 1 commit
  12. 02 Nov, 2014 1 commit
  13. 17 Oct, 2014 3 commits
  14. 05 Oct, 2014 1 commit
  15. 03 Oct, 2014 3 commits
  16. 23 Sep, 2014 1 commit
    • Damien George's avatar
      py: Free non-interned strings in the parser when not needed. · 52b5d76a
      Damien George authored
      mp_parse_node_free now frees the memory associated with non-interned
      strings.  And the parser calls mp_parse_node_free when discarding a
      non-used node (such as a doc string).
      
      Also, the compiler now frees the parse tree explicitly just before it
      exits (as opposed to relying on the caller to do this).
      
      Addresses issue #708 as best we can.
      52b5d76a
  17. 08 Sep, 2014 1 commit
  18. 06 Sep, 2014 1 commit
  19. 03 Sep, 2014 1 commit
  20. 29 Aug, 2014 1 commit
  21. 27 Aug, 2014 1 commit
  22. 15 Aug, 2014 3 commits
  23. 09 Jul, 2014 1 commit
  24. 03 Jul, 2014 1 commit
  25. 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
  26. 21 Jun, 2014 1 commit
  27. 19 Jun, 2014 1 commit
  28. 07 Jun, 2014 1 commit