Damien
|
0f08267fa4
|
unix: include obj.h, and build additional py files.
|
11 years ago |
Damien
|
660365e14c
|
py: split runtime into map, obj, builtin.
|
11 years ago |
Damien
|
a1b2693161
|
py: remove further unnecessary emit_verbatim code.
|
11 years ago |
Damien
|
e388f1034e
|
py: fix bug with doc string not recognised after first newline of file.
|
11 years ago |
Damien
|
02f8941bf6
|
py: reduce use of emit_verbatim calls to minimum.
|
11 years ago |
Damien
|
9ecbcfff99
|
py: work towards working closures.
|
11 years ago |
Damien
|
5285155ef7
|
stm: add basic Servo class, and stop and standby functions.
|
11 years ago |
Damien
|
ec643130d0
|
stm: add timer to storage cache so it can be flushed.
|
11 years ago |
Damien
|
318aec6ba9
|
py: emit correct id for closed over variables.
|
11 years ago |
Damien
|
6332174ab4
|
py: compiler supports string juxtaposition=concatenation.
|
11 years ago |
Damien
|
db4c361f1c
|
py: add skeletal import functionality.
|
11 years ago |
Damien
|
261dbf8ce5
|
stm: add __WFI to sys_tick delay.
|
11 years ago |
Damien
|
d6b4c66565
|
stm: add Led object; add option to reset filesystem.
|
11 years ago |
Damien
|
065f8a5e0e
|
stm: initial commit of working CC3000 driver, based on Adafruit.
|
11 years ago |
Damien
|
8fe8413b56
|
stm: servos on PA0-3; MMA filtering; timer for Python REPL.
|
11 years ago |
Damien
|
11809ee5d4
|
stm: disable audio function in systick.
|
11 years ago |
Damien
|
81cc0e8f00
|
stm: add function to LCD module to show text.
|
11 years ago |
Damien
|
d3e59feb6b
|
stm: reorder things in Makefile.
|
11 years ago |
Damien
|
033d17a633
|
py: built-in range now accepts variable number of arguments.
|
11 years ago |
Damien
|
d79338969b
|
py: restrict further when for-range optimisation is done.
|
11 years ago |
Damien
|
86c7fc7dd9
|
py: add list pop and sort, unpack_sequence, and keywords in method_call.
|
11 years ago |
Damien
|
6f3e7fc505
|
py: add UNPACK_SEQUENCE and keyword methods to VM.
|
11 years ago |
Damien
|
ff099f36d6
|
py: add more functionality to showbc.
|
11 years ago |
Damien
|
d47f9d5a4f
|
py: add call to __init__ when instantiating class object.
|
11 years ago |
Damien
|
c1075ddc8f
|
py: add some more opcodes to showbc.
|
11 years ago |
Damien
|
1895cf91af
|
Link showbc.o in unix version.
|
11 years ago |
Damien
|
f03001f8a6
|
Add function to decode and show byte code.
|
11 years ago |
Damien
|
0446a0d76d
|
Change some debugging/output messages for native code generation.
|
11 years ago |
Damien
|
6d4f3462c4
|
Viper: function calls now convert constant arguments to objects.
|
11 years ago |
Damien
|
39c6c59868
|
STM: add LCD functions for pixel access; add RNG Py bindings.
|
11 years ago |
Damien
|
5c13dbf6ee
|
STM: add RNG support.
|
11 years ago |
Damien
|
087d218d95
|
Unix: add machine-specific sqrt support.
|
11 years ago |
Damien
|
6b92d451b2
|
Add len and subscr (a hack) support for strings.
|
11 years ago |
Damien
|
94658e2e25
|
Add JUMP_IF_x_OR_POP opcodes to VM.
|
11 years ago |
Damien
|
f3822fc34c
|
Fix but with optimised range being 1 over.
|
11 years ago |
Damien
|
6d42ab6625
|
Small improvements to timer module.
|
11 years ago |
Damien
|
bd8e110207
|
Add to STM code timer functionality to call Python on interrupt.
|
11 years ago |
Damien
|
f72fd0e875
|
Add optimisation for "for x in range".
|
11 years ago |
Damien
|
5bf32c3b6b
|
Built-in print function supports variable number of arguments.
|
11 years ago |
Damien
|
ae0bc08a37
|
Viper supports inplace add (trivial).
|
11 years ago |
Damien
|
40fdfe3000
|
Improve allocation of stack for byte code.
|
11 years ago |
Damien
|
03c9cfb015
|
Make byte code jumps relative.
|
11 years ago |
Damien
|
1c62d04e2e
|
Add DAC, and simple audio driver to STM code.
|
11 years ago |
Damien
|
6addc89e55
|
Byte code for SMALL_INT uses 3 bytes for integer.
|
11 years ago |
Damien
|
0c70f88734
|
Add simple PWM control command to STM code.
|
11 years ago |
Damien
|
e8674399f1
|
Add vprintf, vsnprintf to STM code.
|
11 years ago |
Damien
|
96a0addb18
|
Fixup include of stdarg and va_list definition.
|
11 years ago |
Damien
|
2f06c57f8a
|
Add simple var-arg functions; add simple string.format.
|
11 years ago |
Damien
|
0e496733fe
|
Add simple file support to board.
|
11 years ago |
Damien
|
33af3bf028
|
Change Py API names, py_get_* -> py_obj_get_*.
|
11 years ago |