aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-01-10Merge pull request #128 from chipaca/dict_viewsDamien George
dict views now, refactoring later.
2014-01-10dict views now, refactoring later.John R. Lenton
2014-01-09Use memcpy instead of strncpy; add usart.status to stm.Damien George
2014-01-09Merge pull request #127 from iabdalkader/masterDamien George
Add USART Micro Python Bindings
2014-01-09Merge pull request #123 from xbe/masterDamien George
Implement str.strip
2014-01-09Merge pull request #121 from pfalcon/count-testcasesDamien George
Count individual testcases when running tests.
2014-01-09py: Implement base class lookup, issubclass, isinstance.Damien George
2014-01-09Improved type/class/instance code; mp_obj_type_t now has load_attr, store_attr.Damien George
Creating of classes (types) and instances is much more like CPython now. You can use "type('name', (), {...})" to create classes.
2014-01-09Fix Makefile typomux
2014-01-09Add DEBUG flag to Makefilemux
* Add a DEBUG flag to Makefile, enables: "-O0 -ggdb"
2014-01-09Add USART Micro Python Bindingsmux
* Add Micro Python bindings to usart.c * Export USART python object to namespace pyb
2014-01-08Implement str.stripxbe
2014-01-08Count individual testcases when running tests.Paul Sokolovsky
The idea is simple: each print represents a testcase within a test unit. As we don't have strict rules on which/how many testcase are put into a test file, it's nice to have an idea how many *testcases* we have totally. Would be nice to count how many testcases pass/fail, but that's a bit less trivial.
2014-01-08Add string comparison tests.Paul Sokolovsky
Use computed string to exercise string interning code better.
2014-01-08Merge pull request #120 from dhylands/make-build-quieterDamien George
Make build output quieter.
2014-01-08py: Proper framework for built-in 'type'.Damien George
2014-01-08Make build output quieter.Dave Hylands
Use make V=1e make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity. This should fix issue #117
2014-01-08py: add variable argument exception constructor function.Damien George
Addresses issue #104.
2014-01-08Merge pull request #114 from pfalcon/streams-bootstrapDamien George
Define buffer and stream protocols, and other starting bits of io.* framework, with io.FileIO-like implementation for Unix
2014-01-08Merge pull request #119 from dhylands/teensy-use-py.mkDamien George
Update teemsy/Makefile to use py.mk
2014-01-08Merge pull request #118 from dhylands/stm-use-OBJCOPY-SIZE-macrosDamien George
Update stm/Makeile to use OBJCOPY and SIZE macros
2014-01-08py: Stuff qstr in object pointer; keys for mp_map_t are now always mp_obj_t.Damien George
2014-01-08Update teemsy/Makefile to use py.mkDave Hylands
I also fixed main.c to compile with the new str lexer
2014-01-08Update stm/Makeile to use OBJCOPY and SIZE macrosDave Hylands
While updating the teensy Makfile, I noticed that the stm Makefile was using calling arm-none-eabi-objcopy and size rather than $(OBJCOPY) and $(SIZE), so I added these 2 for consistency.
2014-01-08unix: Add basic implementation of io.FileIO object.Paul Sokolovsky
Note: only read/write/close methods are defined so far, and class is not exposed (use open() factory function, as usual).
2014-01-08Add generic implementations of Python read()/write methods for streams.Paul Sokolovsky
These can be used for any object which implements stream protocol (mp_stream_p_t).
2014-01-08Add support for stream and buffer protocols.Paul Sokolovsky
Stream protocol is abstraction of serial I/O. Buffer protocol is abstraction of random-access I/O. These protocols are defined down to C level, to allow generic, while still efficient algorithms to be coded in C (like, buffered transfer between 2 stream objects, saving/loading of buffer object to/from stream, etc). (Note that CPython define buffer protocol on C level, but apparently not stream protocol).
2014-01-08Merge pull request #112 from iabdalkader/masterDamien George
Use LSI OSC for RTC clock when LSE is not detected
2014-01-08Move lexerstr to main py directory (everyone uses it).Damien George
2014-01-08Merge branch 'master' of github.com:dpgeorge/micropythonDamien George
2014-01-08Merge pull request #111 from dhylands/teensyDamien George
Updated teensy to use common code from stm directory.
2014-01-08py: Improve __build_class__.Damien George
2014-01-08Use LSI OSC for RTC clock when LSE is not detectedmux
* Fix rtc_init to use LSI for RTC clock source when LSE is not detected.
2014-01-08Updated teensy to use common code from stm directory.Dave Hylands
Updated mconfigport.h to enable GC
2014-01-07Merge pull request #108 from chipaca/dict_featsDamien George
Dictionary features that don't involve views or classmethods. First part of issue #99.
2014-01-07py: Small big fix to type declarations.Damien George
2014-01-07Moved dict methods out to a mp_method_t.John R. Lenton
2014-01-07Merge remote-tracking branch 'upstream/master' into dict_featsJohn R. Lenton
2014-01-07Merge remote-tracking branch 'upstream/master' into dict_featsJohn R. Lenton
2014-01-07forgot to add test for dict.updateJohn R. Lenton
2014-01-07added a first pass of dict.updateJohn R. Lenton
2014-01-07stm: Re-fix LED defines.Damien George
2014-01-07py: Fix up number operations and coercion.Damien George
2014-01-07Added dict.setdefaultJohn R. Lenton
2014-01-07Added dict.popitemJohn R. Lenton
2014-01-07implemented dict.popJohn R. Lenton
2014-01-07Added dict.get.John R. Lenton
2014-01-07Added dict.copyJohn R. Lenton
2014-01-07make dict_len use the map's used countJohn R. Lenton
2014-01-07Added dict.clear.John R. Lenton
Added 0 to the list of primes. Funky primes, these.