1. 05 Dec, 2014 1 commit
    • Damien George's avatar
      py: Optimise lexer by exposing lexer type. · a4c52c5a
      Damien George authored
      mp_lexer_t type is exposed, mp_token_t type is removed, and simple lexer
      functions (like checking current token kind) are now inlined.
      
      This saves 784 bytes ROM on 32-bit unix, 348 bytes on stmhal, and 460
      bytes on bare-arm.  It also saves a tiny bit of RAM since mp_lexer_t
      is a bit smaller.  Also will run a bit more efficiently.
      a4c52c5a
  2. 16 Nov, 2014 1 commit
  3. 06 Nov, 2014 1 commit
  4. 05 Nov, 2014 1 commit
  5. 23 Oct, 2014 1 commit
  6. 21 Oct, 2014 1 commit
    • stijn's avatar
      Implement kwargs for builtin open() and _io.FileIO · 2fe4cf77
      stijn authored
      This makes open() and _io.FileIO() more CPython compliant.
      The mode kwarg is fully iplemented.
      The encoding kwarg is allowed but not implemented; mainly to allow
      the tests to specify encoding for CPython, see #874
      2fe4cf77
  7. 05 Oct, 2014 1 commit
  8. 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
  9. 08 Sep, 2014 1 commit
  10. 24 Aug, 2014 1 commit
  11. 12 Aug, 2014 1 commit
  12. 04 Aug, 2014 1 commit
  13. 03 Jul, 2014 1 commit
  14. 27 Jun, 2014 3 commits
  15. 18 Jun, 2014 2 commits
  16. 08 Jun, 2014 1 commit
  17. 01 Jun, 2014 2 commits
  18. 24 May, 2014 1 commit
  19. 21 May, 2014 1 commit
    • Damien George's avatar
      Tidy up some configuration options. · 58ebde46
      Damien George authored
      MP_ALLOC_* -> MICROPY_ALLOC_*
      MICROPY_PATH_MAX -> MICROPY_ALLOC_PATH_MAX
      MICROPY_ENABLE_REPL_HELPERS -> MICROPY_HELPER_REPL
      MICROPY_ENABLE_LEXER_UNIX -> MICROPY_HELPER_LEXER_UNIX
      MICROPY_EXTRA_* -> MICROPY_PORT_*
      
      See issue #35.
      58ebde46
  20. 10 May, 2014 1 commit
  21. 02 May, 2014 1 commit
  22. 26 Apr, 2014 1 commit
  23. 17 Apr, 2014 1 commit
  24. 16 Apr, 2014 1 commit
    • Andrew Scheller's avatar
      build directory can now be renamed · 70a7d7a9
      Andrew Scheller authored
      The autogenerated header files have been moved about, and an extra
      include dir has been added, which means you can give a custom
      BUILD=newbuilddir option to make, and everything "just works"
      
      Also tidied up the way the different Makefiles build their include-
      directory flags
      70a7d7a9
  25. 13 Apr, 2014 1 commit
  26. 12 Apr, 2014 1 commit