- Feb 15, 2014
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
Addresses issue #290, and hopefully sets up things to allow generators throwing exceptions, etc.
-
Paul Sokolovsky authored
First arg is not alloc size, but real size, so if used as mp_obj_new_list(3, NULL), need to store items, not append.
-
Damien George authored
-
Damien George authored
Thanks to @pfalcon for the tip!
-
Damien George authored
-
Damien George authored
Each built-in exception is now a type, with base type BaseException. C exceptions are created by passing a pointer to the exception type to make an instance of. When raising an exception from the VM, an instance is created automatically if an exception type is raised (as opposed to an exception instance). Exception matching (RT_BINARY_OP_EXCEPTION_MATCH) is now proper. Handling of parse error changed to match new exceptions. mp_const_type renamed to mp_type_type for consistency.
-
Damien George authored
Ultimately all static strings should be qstr. This entry in the type structure is only used for printing error messages (to tell the type of the bad argument), and printing objects that don't supply a .print method.
-
Paul Sokolovsky authored
Issue #290. This currently fails, to draw attention to the issue.
-
- Feb 14, 2014
-
-
Damien George authored
OS X compatible -map syntax for LDFLAGS
-
Damien George authored
-
Damien George authored
Allow ports to define statically builtin functions.
-
Damien George authored
Implement "from mod import *"
-
Gordon McGregor authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Done by introducing another factored out helper API in binary.c. This API can be reused also by array and struct modules.
-
Paul Sokolovsky authored
Convert unix open() to such.
-
- Feb 13, 2014
-
-
Damien George authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- Feb 12, 2014
-
-
Damien George authored
-
Damien George authored
-
Paul Sokolovsky authored
-
Damien George authored
-
Damien George authored
unix Makefile: Split off optimization options to COPT variable.
-
Paul Sokolovsky authored
To allow easily try different optimization and configuration options without patching any files.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Some tools do not support local/static symbols (one example is GNU ld map file). Exposing all functions will allow to do detailed size comparisons, etc. Also, added bunch of statics where they were missing, and replaced few identity functions with global mp_identity().
-
- Feb 11, 2014
-
-
Damien George authored
-
Damien George authored
For some reason, STM port, while it's 32 bit, needs %lu and %ld for printing machine_uint_t and machine_int_t.
-
Paul Sokolovsky authored
-
Damien George authored
Enable GC for Unix port
-
Damien George authored
Enable link map file generation.
-
Damien George authored
Bah - Removed a couple of warnings for teensy that I didn't notice before.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Note: none of these functions are used by STM port, so they're provided to have parity with pre gc refactor status quo, and in case they will be needed in the future by some extension writers.
-