1. 03 Mar, 2014 1 commit
  2. 15 Feb, 2014 2 commits
    • Damien George's avatar
      Implement proper exception type hierarchy. · c5966128
      Damien George authored
      Each built-in exception is now a type, with base type BaseException.
      C exceptions are created by passing a pointer to the exception type to
      make an instance of.  When raising an exception from the VM, an
      instance is created automatically if an exception type is raised (as
      opposed to an exception instance).
      
      Exception matching (RT_BINARY_OP_EXCEPTION_MATCH) is now proper.
      
      Handling of parse error changed to match new exceptions.
      
      mp_const_type renamed to mp_type_type for consistency.
      c5966128
    • Damien George's avatar
      Change mp_obj_type_t.name from const char * to qstr. · a71c83a1
      Damien George authored
      Ultimately all static strings should be qstr.  This entry in the type
      structure is only used for printing error messages (to tell the type of
      the bad argument), and printing objects that don't supply a .print method.
      a71c83a1
  3. 09 Feb, 2014 1 commit
  4. 08 Feb, 2014 1 commit
  5. 06 Feb, 2014 1 commit
  6. 05 Feb, 2014 1 commit
  7. 04 Feb, 2014 3 commits
  8. 03 Feb, 2014 2 commits
  9. 02 Feb, 2014 2 commits
  10. 30 Jan, 2014 1 commit
  11. 25 Jan, 2014 2 commits
  12. 24 Jan, 2014 1 commit
  13. 21 Jan, 2014 1 commit
  14. 20 Jan, 2014 1 commit
    • Paul Sokolovsky's avatar
      Add dummy bytes() constructor. · a80ff04f
      Paul Sokolovsky authored
      Currently, MicroPython strings are mix between CPython byte and unicode
      strings. So, conversion is null so far. This dummy implementation is
      intended for compatibility with CPython (so, same code can run on both).
      a80ff04f
  15. 18 Jan, 2014 2 commits
  16. 15 Jan, 2014 6 commits
  17. 14 Jan, 2014 1 commit
  18. 13 Jan, 2014 2 commits
  19. 09 Jan, 2014 1 commit
  20. 08 Jan, 2014 1 commit
  21. 07 Jan, 2014 2 commits
  22. 04 Jan, 2014 3 commits
    • Damien George's avatar
      Convert Python types to proper Python type hierarchy. · 71c5181a
      Damien George authored
      Now much more inline with how CPython does types.
      71c5181a
    • Damien George's avatar
      Add ellipsis object. · e9906ac3
      Damien George authored
      e9906ac3
    • Damien George's avatar
      Split qstr into pools, and put initial pool in ROM. · eb7bfcb2
      Damien George authored
      Qstr's are now split into a linked-list of qstr pools.  This has 2
      benefits: the first pool can be in ROM (huge benefit, since we no longer
      use RAM for the core qstrs), and subsequent pools use m_new for the next
      pool instead of m_renew (thus avoiding a huge single table for all the
      qstrs).
      
      Still would be better to use a hash table, but this scheme takes us part
      of the way (eventually convert the pools to hash tables).
      
      Also fixed bug with import.
      
      Also improved the way the module code is referenced (not magic number 1
      anymore).
      eb7bfcb2