summaryrefslogtreecommitdiffstatshomepage
path: root/py/parsenum.h
Commit message (Collapse)AuthorAge
* py: Parse big-int/float/imag constants directly in parser.Damien George2015-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 George2015-01-01
| | | | Addresses issue #1022.
* parser: Convert (u)int to mp_(u)int_t.Damien George2014-07-03
|
* Add license header to (almost) all files.Damien George2014-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 George2014-03-21
|
* py: Implement parsing of infinity and nan for floats.Damien George2014-03-21
|
* py: Put number parsing code together in parsenum.c.Damien George2014-02-22