summaryrefslogtreecommitdiff
path: root/py/makeqstrdata.py
AgeCommit message (Expand)Author
2020-09-21makeqstrdata: Work around python3.6 compatibility problemJeff Epler
2020-09-19makeqstrdata: Work with older PythonJeff Epler
2020-09-16makeqstrdata: comment my understanding of @ciscorn's codeJeff Epler
2020-09-14Small improvements to the dictionary compressionTaku Fukada
2020-09-12makeqstrdata: Avoid encoding problemsJeff Epler
2020-09-12compression: Implement ciscorn's dictionary approachJeff Epler
2020-09-08translations: Make decompression clearerJeff Epler
2020-09-02Rename functions to encode_ngrams / decode_ngramsJeff Epler
2020-09-02makeqstrdata: correct range of low code points to 0x80..0x9f inclusiveJeff Epler
2020-09-01add bigram compression to makeqstrdataJeff Epler
2020-08-18Calculate the Huffman codebook without MP_QSTRsTaku Fukada
2020-08-16makeqstrdata: don't print "compression incrased length" messagesJeff Epler
2020-05-28translations: document the compressed formatJeff Epler
2020-05-28string compression: save a few bits per stringJeff Epler
2019-12-02makeqstrdata: reclaim some more bytes on some translationsJeff Epler
2019-12-02makeqstrdata: fix printing of 'increased length' messageJeff Epler
2019-12-02translation: Compress as unicode, not bytesJeff Epler
2019-08-06makeqstrdata: permit longer "compressed" outputsJeff Epler
2018-11-09Fix output overflow and make help translatableScott Shawcroft
2018-08-16fix mpy-crossScott Shawcroft
2018-08-16Compress all translated strings with Huffman coding.Scott Shawcroft
2018-08-10Fix translation newlinesScott Shawcroft
2018-08-09Rework escaping and fix ESP build.Scott Shawcroft
2018-08-09Two fixes and translate more strings.Scott Shawcroft
2018-08-07Support internationalisation.Scott Shawcroft
2018-05-10py/modbuiltins: Make built-in dir support the __dir__ special method.Damien George
2017-10-21py/objtype: Fit qstrs for special methods in byte type.Paul Sokolovsky
2016-09-02py/makeqstrdata.py: Compute the qstr hash from bytes, not characters.Damien George
2016-05-23py/makeqstrdata.py: Allow to have double-quote characters in qstrs.Damien George
2016-04-14py/makeqstrdata: Add special case to handle \n qstr.Damien George
2016-04-14py/makeqstrdata: Reinstate Python2 compatibility.Damien George
2016-04-14py/makeqstrdata: Fix rendering of qstrs that have non-printable ASCII.Damien George
2016-04-13py/makeqstrdata: Add more names for escaped chars and esc non-printable.Damien George
2016-04-13py/makeqstrdata: Factor out some code to functions that can be reused.Damien George
2015-10-11py/makeqstrdata.py: Catch and report case of empty input file.Paul Sokolovsky
2015-09-03stmhal: add option to query for the current usb modeTony Abboud
2015-07-31makeqstrdata.py: Typo fix in comment.Paul Sokolovsky
2015-07-20py: Make qstr hash size configurable, defaults to 2 bytes.Damien George
2015-05-30py: Get makeqstrdata.py and makeversionhdr.py running under Python 2.6.Damien George
2015-04-02makeqstrdata.py: Add support for strings with backslash escapes.Paul Sokolovsky
2015-01-11py/makeqstrdata.py: Make it work again with both Python2 and Python3.Damien George
2015-01-11py: Add MICROPY_QSTR_BYTES_IN_LEN config option, defaulting to 1.Damien George
2015-01-11py: Add qstr cfg capability; generate QSTR_NULL and QSTR_ from script.Damien George
2015-01-11py/makeqstrdata.py: Add more allowed qstr characters; escape quot.Damien George
2014-09-05py: Use % str formatting instead of {} in makeqstrdata.py.Damien George
2014-06-07Bring the C and Python compute_hash functions into consistencyChris Angelico
2014-05-03More relaxed parsing of preprocessed qstr headerstijn
2014-04-27py: Add '*' qstr for 'import *'; use blank qstr for comprehension arg.Damien George
2014-04-15py: Add builtin functions bin and oct, and some tests for them.Damien George
2014-04-15py: Fix builtin hex to print prefix.Damien George