• Kevin Modzelewski's avatar
    Add support for the globals() builtin · 85beb314
    Kevin Modzelewski authored
    Works by using stack unwinding to find the most recent frame,
    and then maps that back to the source information.
    Soon we're going to need proper frame management (ex, this approach
    does not work at for the locals() function), when this will be replaced.
    
    globals() currently returns a non-dict... we'll see if that's ok.
    85beb314
objmodel.h 5.36 KB