Damien George
|
56bb636014
|
Change -Og to -O0 in unix-cpy/Makefile; cast to small int in socket.c.
|
11 years ago |
Dave Hylands
|
c89c681a9f
|
Rework makefiles. Add proper dependency checking.
|
11 years ago |
Damien George
|
5fa93b6755
|
Second stage of qstr revamp: uPy str object can be qstr or not.
|
11 years ago |
Damien George
|
55baff4c9b
|
Revamp qstrs: they now include length and hash.
Can now have null bytes in strings. Can define ROM qstrs per port using
qstrdefsport.h
|
11 years ago |
Damien George
|
cbd2f7482c
|
py: Add module/function/class name to exceptions.
Exceptions know source file, line and block name.
Also tidy up some debug printing functions and provide a global
flag to enable/disable them.
|
11 years ago |
Damien George
|
08335004cf
|
Add source file name and line number to error messages.
Byte code has a map from byte-code offset to source-code line number,
used to give better error messages.
|
11 years ago |
Damien George
|
9528cd66d7
|
Convert parse errors to exceptions.
Parser no longer prints an error, but instead returns an exception ID
and message.
|
11 years ago |
xyb
|
c178ea471e
|
Implemented int(str) in UNIX
|
11 years ago |
John R. Lenton
|
9549919349
|
made DEBUG control CFLAGS in Makefiles oter than stm as well.
|
11 years ago |
Dave Hylands
|
4646801181
|
Make build output quieter.
Use make V=1e make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
This should fix issue #117
|
11 years ago |
John R. Lenton
|
9c83ec0eda
|
Merge remote-tracking branch 'upstream/master' into dict_feats
|
11 years ago |
Damien George
|
d3ebe4829d
|
Factor and simplify Makefile's and mpconfig, part 2.
|
11 years ago |
Damien George
|
136f67523b
|
Factor and simplify Makefile's and mpconfig.
|
11 years ago |
ian-v
|
5fd8fd2c16
|
Revert MP_BOOL, etc. and use <stdbool.h> instead
|
11 years ago |
ian-v
|
7a16fadbf8
|
Co-exist with C++ (issue #85)
|
11 years ago |
Damien George
|
71c5181a8d
|
Convert Python types to proper Python type hierarchy.
Now much more inline with how CPython does types.
|
11 years ago |
Paul Sokolovsky
|
1c6de11f77
|
Add basic implementation of slice object.
So far, only start and stop integer indexes are supported. Step is
not supported, as well as objects of arbitrary types.
|
11 years ago |
Paul Sokolovsky
|
c90c0f68a2
|
Move INT_FMT, etc. declaration into global mpconfig.h .
This in particular makes it available for stm port.
|
11 years ago |
Damien George
|
b7aa72710e
|
unix-cpy: Fix mpconfig to work with new scheme.
|
11 years ago |
Damien George
|
1fb031744f
|
Change mp_compile so that it returns a function object for the module.
|
11 years ago |
Damien George
|
66028ab6dc
|
Basic implementation of import.
import works for simple cases. Still work to do on finding the right
script, and setting globals/locals correctly when running an imported
function.
|
11 years ago |
Damien George
|
2870862601
|
Add module object, to be used eventually for import.
|
11 years ago |
Paul Sokolovsky
|
e1151e463d
|
Use rm -rf to remove build dir, so it doesn't error out if dir doesn't exist.
|
11 years ago |
Damien George
|
8cc96a35e5
|
Put unicode functions in unicode.c, and tidy their names.
|
11 years ago |
Damien George
|
212c296c0b
|
Make unix-cpy cross platform; remove dependency of asmx64 on mpconfig.
|
11 years ago |
Damien
|
de690d128b
|
Add unix-cpy, used to test Micro Python byte code against CPython.
|
11 years ago |