Open zxul767 opened 1 year ago
the :globals command should print a list of all the globals in the current session, organized by type:
:globals
CoffeeMaker <class> maker <CoffeeMaker instance> start <function> counter1 <closure> counter2 <closure> count <primitive:number> program <primitive:string> flag <primitive:bool>
for clox, even though we always wrap functions in closures, by inspecting the upvalues array we can tell if a function is an actual closure.
clox
upvalues
the
:globals
command should print a list of all the globals in the current session, organized by type:for
clox
, even though we always wrap functions in closures, by inspecting theupvalues
array we can tell if a function is an actual closure.