| Commit message (Collapse) | Author | Age |
| |
|
| |
|
|
|
|
|
| |
These largely duplicate str() & bytes() constructors' functionality,
but can be used to achieve Python2 compatibility.
|
|
|
|
|
| |
This is alternative implementation of supporting conditionals in qstrdefs.h,
hard to say if it's much cleaner than munging #ifdef's in Python code...
|
|
|
|
|
|
| |
This reverts commit acb133d1b1a68847bd85c545312c3e221a6f7c0b.
Conditionals will be suported using C preprocessor.
|
|
|
|
| |
Syntax is usual C #if*/#endif, but each qstr must be wrapped individually.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This is compatible with what search path was before sys.path refactor,
with addition of module library path ("0:/lib").
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Want common qstrs to be first in the list so they have the lowest ids,
so that in the byte code they take up the least room.
|
|
|
|
|
| |
Also, add qstr's for string appearing in unix REPL loop, gross effect
being less allocations for each command run.
|
| |
|
|
Can now have null bytes in strings. Can define ROM qstrs per port using
qstrdefsport.h
|