summaryrefslogtreecommitdiff
path: root/tests/micropython/viper.py
AgeCommit message (Collapse)Author
2014-10-05tests: 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-08-24py: 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-16py: Viper can call functions with native types, and raise exceptions.Damien George
2014-08-15py: Viper can now store to global.Damien George
2014-08-15py: Fix typing of viper locals; allow default types in annotation.Damien George
2014-08-15py: 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