78d702c300
This patch adds a configuration option (MICROPY_CAN_OVERRIDE_BUILTINS) which, when enabled, allows to override all names within the builtins module. A builtins override dict is created the first time the user assigns to a name in the builtins model, and then that dict is searched first on subsequent lookups. Note that this implementation doesn't allow deleting of names. This patch also does some refactoring of builtins code, creating the modbuiltins.c file. Addresses issue #959. |
||
---|---|---|
.. | ||
msvc | ||
.gitignore | ||
bss.c | ||
init.c | ||
init.h | ||
Makefile | ||
micropython.vcxproj | ||
mpconfigport.h | ||
mpconfigport.mk | ||
README | ||
realpath.c | ||
realpath.h | ||
sleep.c |
This is experimental, community-supported Windows port of MicroPython. It is based on Unix port, and expected to remain so. The port requires additional testing, debugging, and patches. Please consider to contribute. To cross-compile under Debian/Ubuntu Linux system: sudo apt-get install mingw32 mingw32-binutils mingw32-runtime make CROSS_COMPILE=i586-mingw32msvc- To compile under Cygwin: Install following packages using cygwin's setup.exe: mingw-gcc-g++ make make CROSS_COMPILE=i686-pc-mingw32- To compile using Visual Studio 2013: Open micropython.vcxproj and build To compile using Visual Studio 2013 commandline: msbuild micropython.vcxproj