aboutsummaryrefslogtreecommitdiff
path: root/unix/Makefile
AgeCommit message (Collapse)Author
2014-01-04Improve configurability for native x64/thumb emitter.Damien George
With MICROPY_EMIT_X64 and MICROPY_EMIT_THUMB disabled, the respective emitters and assemblers will not be included in the code. This can significantly reduce binary size for unix version.
2014-01-04Add basic implementation of slice object.Paul Sokolovsky
So far, only start and stop integer indexes are supported. Step is not supported, as well as objects of arbitrary types.
2014-01-03Rename default config file to mpconfig.h, and port's to mpconfigport.h.Paul Sokolovsky
mpconfig.h will automatically pull mpconfigport.h.
2014-01-03Basic implementation of import.Damien George
import works for simple cases. Still work to do on finding the right script, and setting globals/locals correctly when running an imported function.
2014-01-02Add module object, to be used eventually for import.Damien George
2014-01-02unix: revert Makefile to not use -ltermcap.Damien George
termcap is not needed on Linux. Need to work out how to automatically configure the Makefile...
2014-01-01Fix undefined termcap symbols on OpenBSD.Edd Barrett
E.g.: /usr/lib/libreadline.so.4.0: undefined reference to `tgetnum' /usr/lib/libreadline.so.4.0: undefined reference to `tgoto' /usr/lib/libreadline.so.4.0: undefined reference to `tgetflag' /usr/lib/libreadline.so.4.0: undefined reference to `tputs' /usr/lib/libreadline.so.4.0: undefined reference to `tgetent' /usr/lib/libreadline.so.4.0: undefined reference to `tgetstr' Tested on linux too, works.
2014-01-01Make GNU Readline usage optional (USE_READLINE define). Still enabled.Paul Sokolovsky
Readline is GPL, so linking with it casts the binary GPL.
2013-12-30Use rm -rf to remove build dir, so it doesn't error out if dir doesn't exist.Paul Sokolovsky
2013-12-30Put unicode functions in unicode.c, and tidy their names.Damien George
2013-12-30Make unix-cpy cross platform; remove dependency of asmx64 on mpconfig.Damien George
2013-12-30Make "unix" target be crossplatform and support x86, x64, ARM hosts.Paul Sokolovsky
2013-12-29Don't error out if build/ directory already exists.Paul Sokolovsky
2013-12-29Add unix-cpy, used to test Micro Python byte code against CPython.Damien
2013-12-21Change object representation from 1 big union to individual structs.Damien
A big change. Micro Python objects are allocated as individual structs with the first element being a pointer to the type information (which is itself an object). This scheme follows CPython. Much more flexible, not necessarily slower, uses same heap memory, and can allocate objects statically. Also change name prefix, from py_ to mp_ (mp for Micro Python).
2013-12-20Fix a few compiler warnings.Damien
2013-12-17unix: include obj.h, and build additional py files.Damien
2013-11-17Link showbc.o in unix version.Damien
2013-11-02Add basic complex number support.Damien
2013-10-22Improve REPL compount statement detection.Damien
2013-10-20Abstract out back-end stream functionality from lexer.Damien
2013-10-18Implement REPL.Damien
2013-10-15Implement basic exception framework, and simple for loop.Damien
2013-10-12Separate out mpy core and unix version.Damien