summaryrefslogtreecommitdiff
path: root/py/makeqstrdata.py
AgeCommit message (Collapse)Author
2014-03-25py: Replace naive and teribble hash function with djb2.Damien George
2014-03-10Fix makeqstrdata.py to work in Python 2.7Dave Hylands
2014-03-08makeqstrdata: print error to stderr.Damien George
2014-02-18stm: Initialize sys.path with ["0:/", "0:/src", "0:/lib"].Paul Sokolovsky
This is compatible with what search path was before sys.path refactor, with addition of module library path ("0:/lib").
2014-02-15Change mp_obj_type_t.name from const char * to qstr.Damien George
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.
2014-01-24Retain file order of qstr definitions.Damien George
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.
2014-01-24Allow qstr's with non-ident chars, construct good identifier for them.Paul Sokolovsky
Also, add qstr's for string appearing in unix REPL loop, gross effect being less allocations for each command run.
2014-01-21Fix malformed generated file when using python 2.7Dave Hylands
2014-01-21Revamp qstrs: they now include length and hash.Damien George
Can now have null bytes in strings. Can define ROM qstrs per port using qstrdefsport.h