Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | py: Parse big-int/float/imag constants directly in parser. | Damien George | 2015-02-08 |
| | | | | | | | | | Previous to this patch, a big-int, float or imag constant was interned (made into a qstr) and then parsed at runtime to create an object each time it was needed. This is wasteful in RAM and not efficient. Now, these constants are parsed straight away in the parser and turned into objects. This allows constants with large numbers of digits (so addresses issue #1103) and takes us a step closer to #722. | ||
* | py: Move to guarded includes, everywhere in py/ core. | Damien George | 2015-01-01 |
| | | | | Addresses issue #1022. | ||
* | parser: Convert (u)int to mp_(u)int_t. | Damien George | 2014-07-03 |
| | |||
* | Add license header to (almost) all files. | Damien George | 2014-05-03 |
| | | | | | | | Blanket wide to all .c and .h files. Some files originating from ST are difficult to deal with (license wise) so it was left out of those. Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/. | ||
* | py: Allow 'complex()' to take a string as first argument. | Damien George | 2014-03-21 |
| | |||
* | py: Implement parsing of infinity and nan for floats. | Damien George | 2014-03-21 |
| | |||
* | py: Put number parsing code together in parsenum.c. | Damien George | 2014-02-22 |