aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-01-18int: Add value accessors: mp_obj_int_get() & mp_obj_int_get_checked().Paul Sokolovsky
mp_obj_int_get() can be used when just full resolution of C machine_int_t is required (returns truncated value of long int). mp_obj_int_get_checked() will throw exception if Python int value not representable in machine_int_t.
2014-01-18Add OverflowError and use it for small int overflow instead of assert.Paul Sokolovsky
2014-01-17Merge pull request #184 from pfalcon/int-longlongDamien George
Python long int implementation using C long long
2014-01-17Implement LOAD_CONST_INT (by dispatching to int object implementation).Paul Sokolovsky
2014-01-17Add long int implementation using C long long type, enable for unix port.Paul Sokolovsky
2014-01-16Merge branch 'master' of github.com:dpgeorge/micropythonDamien George
2014-01-16stm: Add stm import support.Damien George
2014-01-16Add empty (false) value testing for strings, tuples, lists, dicts.Paul Sokolovsky
2014-01-16Merge pull request #180 from pfalcon/examples-improveDamien George
Improve compatibility of examples with CPython (+ interp compatibility too)
2014-01-16Add empty "micropython" module to allow more seamless CPython portability.Paul Sokolovsky
Implicit "micropython" module contains (at least) codegeneration decorators. Make it explicit, so an app could have "import micropython". On MicroPython, that will be no-op. On CPython, that will give a chance to have a module with placeholder decorators.
2014-01-16Add dummy micropython module to enable mandel.py run with CPython.Paul Sokolovsky
2014-01-16conwaylife.py: Give people chance to enjoy the show.Paul Sokolovsky
Delay between frames; run more generations.
2014-01-16CPython pyb.py placeholder: Implement delay().Paul Sokolovsky
2014-01-16Make file.read() and file.read(-1) call out to file.readall().Paul Sokolovsky
Per Python3 io module semantics.
2014-01-16Do not assume that vstr buf is the same after it was extended.Paul Sokolovsky
2014-01-16str.format: Don't assume that '}' immediately follows '{', skip insides.Paul Sokolovsky
That at least makes stuff like "{:x}".format(1) to produce not completely broken output.
2014-01-15Add errno=0 before call.Damien George
2014-01-15stm: Fix print methods with new kind argument.Damien George
2014-01-15Merge branch 'str2int' of github.com:xyb/micropython into xyb-str2intDamien George
Conflicts: py/objint.c unix-cpy/Makefile unix/Makefile
2014-01-15Merge branch 'str-repr' of github.com:pfalcon/micropython into pfalcon-str-reprDamien George
Conflicts: tests/basics/tests/exception1.py
2014-01-15Merge branch 'builtins' of github.com:chipaca/micropython into chipaca-builtinsDamien George
Added some checks for number of arguments. Conflicts: py/mpqstrraw.h
2014-01-15Merge branch 'master' of github.com:dpgeorge/micropythonDamien George
2014-01-15Implement eval.Damien George
2014-01-15Add unbuffered readline() implementation for Raw I/O files.Paul Sokolovsky
2014-01-15Implement repr.Damien George
2014-01-15Convert parse errors to exceptions.Damien George
Parser no longer prints an error, but instead returns an exception ID and message.
2014-01-15add more tests and remove debug codexyb
2014-01-15int() test passedxyb
2014-01-15added filter()John R. Lenton
2014-01-15Added mapJohn R. Lenton
2014-01-15Implement str() and repr() builtin functions.Paul Sokolovsky
2014-01-15type->print(): Distinguish str() and repr() variety by passing extra param.Paul Sokolovsky
2014-01-14Merge remote-tracking branch 'upstream/master' into builtinsJohn R. Lenton
2014-01-14Make GitHub logo/image a JPEG so it's smaller.Damien George
2014-01-14added enumerate()John R. Lenton
2014-01-14Merge pull request #170 from chipaca/masterDamien George
made DEBUG control CFLAGS in Makefiles other than stm as well.
2014-01-14stm: Include libgcc for __aeabi_d2f and __aeabi_f2d functions.Damien George
Thanks to Dave Hylands for this.
2014-01-14Merge pull request #163 from Metallicow/README-branchDamien George
Add combined image to GitHub front page README.md
2014-01-14Merge pull request #175 from iabdalkader/masterDamien George
Add missing ADC driver
2014-01-14Merge pull request #173 from pfalcon/file-readallDamien George
Generic implementation if stream readall() method, immediately reused in unix io.FileIO implementation
2014-01-14Merge pull request #161 from pfalcon/exc-more-pythonicDamien George
Move towards Python-compliant interface of exceptions
2014-01-14Merge pull request #142 from chipaca/containmentDamien George
Implemented support for `in` and `not in` operators.
2014-01-14Tidy up.Damien George
2014-01-14Merge pull request #165 from chipaca/builtinsDamien George
added zip()
2014-01-15Implement "is" and "is not" operators.Paul Sokolovsky
So far, don't work for strings as expected.
2014-01-15Refactor exception objects to have better impl of Python-side interface.Paul Sokolovsky
This implements internal args tuple of arguments, while still keeping object useful for reporting C-side errors. Further elaboration is needed.
2014-01-14Add objtuple.h to allow embedding of tuples inside other objects.Paul Sokolovsky
This is useful because tuple is closest analog of C static array.
2014-01-14Add ADC support for internal TEMP/VBAT/VREFmux
* Add ADC support for reading internal temperature sensor. * Add ADC support for reading internal VREF/VBAT monitor.
2014-01-14Implement initial ADC supportmux
* Add simple ADC driver, with support for ADC1 and all channels. * Export MicroPython ADC object with read_channel function. * Add stm32f4xx_adc.c and adc.c to Makefile.
2014-01-14Add missing ADC drivermux
* Add missing ADC driver from STM32F4xx_StdPeriph_Lib_V1.3.0