1. 22 Feb, 2016 2 commits
  2. 21 Feb, 2016 9 commits
  3. 17 Feb, 2016 3 commits
    • Damien George's avatar
      README.md: Add link to micropython.org. · 53fec1ef
      Damien George authored
      53fec1ef
    • Damien George's avatar
      py/vm: Add macros to hook into various points in the VM. · 40d8430e
      Damien George authored
      These can be used to insert arbitrary checks, polling, etc into the VM.
      They are left general because the VM is a highly tuned loop and it should
      be up to a given port how that port wants to modify the VM internals.
      
      One common use would be to insert a polling check, but only done after
      a certain number of opcodes were executed, so as not to slow down the VM
      too much.  For example:
      
       #define MICROPY_VM_HOOK_COUNT (30)
       #define MICROPY_VM_HOOK_INIT static uint vm_hook_divisor = MICROPY_VM_HOOK_COUNT
       #define MICROPY_VM_HOOK_POLL if (--vm_hook_divisor == 0) { \
           vm_hook_divisor = MICROPY_VM_HOOK_COUNT;
           extern void vm_hook_function(void);
           vm_hook_function();
       }
       #define MICROPY_VM_HOOK_LOOP MICROPY_VM_HOOK_POLL
       #define MICROPY_VM_HOOK_RETURN MICROPY_VM_HOOK_POLL
      40d8430e
    • Alex March's avatar
      py/repl: Check for an identifier char after the keyword. · 69d9e7d2
      Alex March authored
      - As described in the #1850.
      - Add cmdline tests.
      69d9e7d2
  4. 15 Feb, 2016 8 commits
  5. 14 Feb, 2016 17 commits
  6. 13 Feb, 2016 1 commit