| Age | Commit message (Collapse) | Author |
|
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.
|
|
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.
|
|
|
|
|
|
Addresses issue #275.
|
|
Updated teensy to work with latest on master
|
|
Added analogRead, analogWriteXxx and servo support for teensy.
|
|
If there's malloc and memset, then there's no need for calloc, especially if
we need to implement it ourselves.
|
|
|
|
Byte code has a map from byte-code offset to source-code line number,
used to give better error messages.
|
|
|
|
You can now append a zipfile (containining uncomressed python sources)
to the micropython.hex file.
Use MEMZIP_DIR=directory when you call make, or set that in your
environment to include a different tree of source files.
Added sample /boot.py, /src/main.py, /test.py and /src/test.py files.
Added run command so that you can execute scripts from REPL (until import is implemented).
Added build directory to .gitignore
|
|
Use make V=1e make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
This should fix issue #117
|
|
I also fixed main.c to compile with the new str lexer
|
|
|
|
Updated mconfigport.h to enable GC
|
|
|