Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-10-12 | py: Implement native load for viper. | Damien George | |
Viper can now do: ptr8(buf)[0], which loads a byte from a buffer using machine instructions. | |||
2014-10-12 | py: Implement and,or,xor native ops for viper. | Damien George | |
2014-10-05 | tests: Add check for micropython.native and then skip relevant tests. | Damien George | |
If micropython.native decorator doesn't compile, then we skill all native/viper tests. This patch also re-enables the ujson_loads test on NT. Addresses issue #861, and partially addresses issue #856. | |||
2014-09-29 | py: Fix viper store on x86; add tests for viper ptr16. | Damien George | |
2014-09-29 | py: Add casting to viper; add native mem stores to viper. | Damien George | |
Viper can now do the following: def store(p:ptr8, c:int): p[0] = c This does a store of c to the memory pointed to by p using a machine instructions inline in the code. | |||
2014-09-29 | tests: Add tests for viper binary operations. | Damien George | |
2014-09-29 | py: Allow viper to use ints as direct conditionals in jumps. | Damien George | |
Allows things like: if 1: ... | |||
2014-08-24 | py: Fix bug where GC collected native/viper/asm function data. | Damien George | |
Because (for Thumb) a function pointer has the LSB set, pointers to dynamic functions in RAM (eg native, viper or asm functions) were not being traced by the GC. This patch is a comprehensive fix for this. Addresses issue #820. | |||
2014-08-16 | py: Viper can call functions with native types, and raise exceptions. | Damien George | |
2014-08-15 | py: Viper can now store to global. | Damien George | |
2014-08-15 | py: Fix typing of viper locals; allow default types in annotation. | Damien George | |
2014-08-15 | py: Allow viper to have type annotations. | Damien George | |
Viper functions can now be annotated with the type of their arguments and return value. Eg: @micropython.viper def f(x:int) -> int: return x + 1 | |||
2014-05-31 | tests: Add feature test for when heap allocation is disabled. | Damien George | |
2014-05-08 | py, compiler: Add basic support for A=const(123). | Damien George | |
You can now do: X = const(123) Y = const(456 + X) and the compiler will replace X and Y with their values. See discussion in issue #266 and issue #573. |