• paulpatault's avatar
    Micro Python : syntax improvements & added functions · 2cc29e89
    paulpatault authored
    - added break and continue
    - added range with one, two or three argument(s)
    - added slice (`list[i1:i2]`)
    - added negative index (`list[n], with -len(list) ≤ n < len(list)`)
    - added lists methods:
      - `list.append(n)`
      - `list.pop()`
      - `list.clear()`
      - `list.sort()`
      - `list.reverse()`
    - added `is_permutation(list1, list2)` predicate
    - added assignment operators `+=`, `-=`, `*=`, `//=`, `%=`
    - functions can now return `bool` and `list`
    2cc29e89
To find the state of this project's repository at the time of any of these versions, check out the tags..