1. 14 Mar, 2015 1 commit
  2. 27 Feb, 2015 1 commit
  3. 08 Feb, 2015 1 commit
    • Damien George's avatar
      py: Parse big-int/float/imag constants directly in parser. · 7d414a1b
      Damien George authored
      Previous to this patch, a big-int, float or imag constant was interned
      (made into a qstr) and then parsed at runtime to create an object each
      time it was needed.  This is wasteful in RAM and not efficient.  Now,
      these constants are parsed straight away in the parser and turned into
      objects.  This allows constants with large numbers of digits (so
      addresses issue #1103) and takes us a step closer to #722.
      7d414a1b
  4. 24 Jan, 2015 2 commits
  5. 21 Jan, 2015 1 commit
    • Damien George's avatar
      py: Remove mp_obj_str_builder and use vstr instead. · 05005f67
      Damien George authored
      With this patch str/bytes construction is streamlined.  Always use a
      vstr to build a str/bytes object.  If the size is known beforehand then
      use vstr_init_len to allocate only required memory.  Otherwise use
      vstr_init and the vstr will grow as needed.  Then use
      mp_obj_new_str_from_vstr to create a str/bytes object using the vstr
      memory.
      
      Saves code ROM: 68 bytes on stmhal, 108 bytes on bare-arm, and 336 bytes
      on unix x64.
      05005f67
  6. 20 Jan, 2015 1 commit
  7. 16 Jan, 2015 1 commit
  8. 01 Jan, 2015 1 commit
  9. 29 Dec, 2014 2 commits
  10. 05 Dec, 2014 1 commit
  11. 06 Oct, 2014 1 commit
  12. 03 Oct, 2014 1 commit
  13. 10 Sep, 2014 1 commit
  14. 30 Aug, 2014 2 commits
  15. 29 Aug, 2014 2 commits
  16. 27 Aug, 2014 2 commits
  17. 13 Aug, 2014 1 commit
  18. 31 Jul, 2014 1 commit
  19. 24 Jul, 2014 1 commit
  20. 03 Jul, 2014 1 commit
  21. 06 Jun, 2014 1 commit
  22. 01 Jun, 2014 1 commit
    • Damien George's avatar
      Rename bultins config variables to MICROPY_PY_BUILTINS_*. · fb510b3b
      Damien George authored
      This renames:
      MICROPY_PY_FROZENSET -> MICROPY_PY_BUILTINS_FROZENSET
      MICROPY_PY_PROPERTY -> MICROPY_PY_BUILTINS_PROPERTY
      MICROPY_PY_SLICE -> MICROPY_PY_BUILTINS_SLICE
      MICROPY_ENABLE_FLOAT -> MICROPY_PY_BUILTINS_FLOAT
      
      See issue #35 for discussion.
      fb510b3b
  23. 28 May, 2014 3 commits
  24. 21 May, 2014 1 commit
  25. 17 May, 2014 2 commits
  26. 11 May, 2014 1 commit
    • Damien George's avatar
      py: Use mp_arg_check_num in more places. · ee7a880d
      Damien George authored
      Updated functions now do proper checking that n_kw==0, and are simpler
      because they don't have to explicitly raise an exception.  Down side is
      that the error messages no longer include the function name, but that's
      acceptable.
      
      Saves order 300 text bytes on x64 and ARM.
      ee7a880d
  27. 08 May, 2014 1 commit
    • stijn's avatar
      Windows MSVC port · 01d6be4d
      stijn authored
      Extend the windows port so it compiles with the toolchain from Visual Studio 2013
      01d6be4d
  28. 07 May, 2014 1 commit
  29. 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
  30. 02 May, 2014 1 commit
  31. 18 Apr, 2014 2 commits