Linaro Git Browser
Code Review
Sign In
review.linaro.org
/
lite
/
micropython
/
3db2b230602b0140b3ea430c61d415335d939274
/
py
/
parse.h
16a6a47
py/parse: Replace mp_int_t/mp_uint_t with size_t etc, where appropriate.
by Damien George
· 10 years ago
999cedb
py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.
by Damien George
· 10 years ago
58e0f4a
py: Allocate parse nodes in chunks to reduce fragmentation and RAM use.
by Damien George
· 10 years ago
dfe944c
py: Expose compile.c:list_get as mp_parse_node_extract_list.
by Damien George
· 10 years ago
7d414a1
py: Parse big-int/float/imag constants directly in parser.
by Damien George
· 10 years ago
0bfc763
py: Protect mp_parse and mp_compile with nlr push/pop block.
by Damien George
· 10 years ago
51dfcb4
py: Move to guarded includes, everywhere in py/ core.
by Damien George
· 11 years ago
8ab6f90
py: Move to guarded includes for compile.h and related headers.
by Paul Sokolovsky
· 11 years ago
42f3de9
py: Convert [u]int to mp_[u]int_t where appropriate.
by Damien George
· 11 years ago
3816182
parser: Convert (u)int to mp_(u)int_t.
by Damien George
· 11 years ago
40f3c02
Rename machine_(u)int_t to mp_(u)int_t.
by Damien George
· 11 years ago
d1e355e
py: Fix check of small-int overflow when parsing ints.
by Damien George
· 11 years ago
5042bce
py: Don't automatically intern strings in parser.
by Damien George
· 11 years ago
9e76b11
Draft approach towards resolving https://github.com/micropython/micropython/issues/560#issuecomment-42213955
by Paul Sokolovsky
· 11 years ago
04b9147
Add license header to (almost) all files.
by Damien George
· 11 years ago
58ba4c3
py: Check explicitly for memory allocation failure in parser.
by Damien George
· 11 years ago
2077397
py: Put number parsing code together in parsenum.c.
by Damien George
· 11 years ago
56e5ef2
parse: Refactor parse node encoding to support full range of small ints.
by Paul Sokolovsky
· 11 years ago
bbf0e2f
parse: Note that fact that parser's small ints are different than VM small int.
by Paul Sokolovsky
· 11 years ago
c596612
Implement proper exception type hierarchy.
by Damien George
· 11 years ago
b829b5c
Implement mp_parse_node_free; print properly repr(string).
by Damien George
· 12 years ago
aee2ba7
Add parse_node_free_struct() and use it to free parse tree after compilation.
by Paul Sokolovsky
· 12 years ago
cbd2f74
py: Add module/function/class name to exceptions.
by Damien George
· 12 years ago
0833500
Add source file name and line number to error messages.
by Damien George
· 12 years ago
9528cd6
Convert parse errors to exceptions.
by Damien George
· 12 years ago
d99b052
Change object representation from 1 big union to individual structs.
by Damien
· 12 years ago
5ac1b2e
Implement REPL.
by Damien
· 12 years ago
0efb3a1
Tidy up SMALL_INT optimisations and CPython compatibility.
by Damien
· 12 years ago
429d719
Initial commit.
by Damien
· 12 years ago