37 Commits (efaef6eea3d964beef9a6aecaf24fcda598536b2)

Author SHA1 Message Date
Damien George 58ebde4664 Tidy up some configuration options. 11 years ago
Damien George 1b82e9af5c py: Improve handling of memory error in parser. 11 years ago
Damien George 93afa230a4 py, parser: Add commented-out code to discard doc strings. 11 years ago
Damien George 66e18f04d8 py: Turn down amount of RAM parser and compiler use. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George 58ba4c3b4c py: Check explicitly for memory allocation failure in parser. 11 years ago
xbe efe3422394 py: Clean up includes. 11 years ago
Damien George 06201ff3d6 py: Implement bit-shift and not operations for mpz. 11 years ago
Paul Sokolovsky 56e5ef203b parse: Refactor parse node encoding to support full range of small ints. 11 years ago
Paul Sokolovsky bbf0e2fe12 parse: Note that fact that parser's small ints are different than VM small int. 11 years ago
Damien George c5966128c7 Implement proper exception type hierarchy. 11 years ago
Paul Sokolovsky 520e2f58a5 Replace global "static" -> "STATIC", to allow "analysis builds". Part 2. 11 years ago
Damien George 08d075592f py: Fix bug with LOAD_METHOD; fix int->machine_int_t for small int. 11 years ago
Damien George b829b5caec Implement mp_parse_node_free; print properly repr(string). 11 years ago
Paul Sokolovsky aee2ba70de Add parse_node_free_struct() and use it to free parse tree after compilation. 11 years ago
Damien George 00208ce194 py: Change macro var args in parser to be C99 compliant. 11 years ago
Damien George 55baff4c9b Revamp qstrs: they now include length and hash. 11 years ago
Damien George cbd2f7482c py: Add module/function/class name to exceptions. 11 years ago
Damien George 08335004cf Add source file name and line number to error messages. 11 years ago
Damien George d02c6d8962 Implement eval. 11 years ago
Damien George 9528cd66d7 Convert parse errors to exceptions. 11 years ago
Paul Sokolovsky 80f60e1aee Parse long Python ints properly. 11 years ago
Damien George 69a818d418 py: Improve memory management for parser; add lexer error for bad line cont. 11 years ago
ian-v 5fd8fd2c16 Revert MP_BOOL, etc. and use <stdbool.h> instead 11 years ago
ian-v 7a16fadbf8 Co-exist with C++ (issue #85) 11 years ago
Damien George 8cc96a35e5 Put unicode functions in unicode.c, and tidy their names. 11 years ago
Damien 732407f1bf Change memory allocation API to require size for free and realloc. 11 years ago
Damien dd12d1378f Parse upper-case hex numbers correctly. 11 years ago
Damien d99b05282d Change object representation from 1 big union to individual structs. 11 years ago
Damien 7410e440ab Add basic complex number support. 11 years ago
Damien df4b4f31ef Make grammar rules const so the go in .text section. 11 years ago
Damien 5ac1b2efbd Implement REPL. 11 years ago
Damien 0efb3a1b66 Tidy up SMALL_INT optimisations and CPython compatibility. 11 years ago
Damien c025ebb2dc Separate out mpy core and unix version. 11 years ago
Damien 91d387de7d Improve indent/dedent error checking and reporting. 11 years ago
Damien b14de21fc8 Optimise typedargslist_name to not create a node if just an id. 11 years ago
Damien 5fa5ae40be Make range of small int 24 bits. 11 years ago
Damien 826005c60b Add support for inline thumb assembly. 11 years ago
Damien 429d71943d Initial commit. 11 years ago