aboutsummaryrefslogtreecommitdiff
path: root/py/compile.h
AgeCommit message (Collapse)Author
2014-01-18Add source file name and line number to error messages.Damien George
Byte code has a map from byte-code offset to source-code line number, used to give better error messages.
2014-01-03Change mp_compile so that it returns a function object for the module.Damien George
2013-12-21Change object representation from 1 big union to individual structs.Damien
A big change. Micro Python objects are allocated as individual structs with the first element being a pointer to the type information (which is itself an object). This scheme follows CPython. Much more flexible, not necessarily slower, uses same heap memory, and can allocate objects statically. Also change name prefix, from py_ to mp_ (mp for Micro Python).
2013-10-18Implement REPL.Damien
2013-10-04Initial commit.Damien