News for hackers. Stuff that matters.
Re:Inspector – A drop-anywhere C++ REPL by Mic92 on Monday February 12, 2018 @02:07PM (#16361062)
To access local variables, as you can see in the example, Inspector uses libclang ahead of compile-time to generate code that captures all local variables where the REPL is invoked. In JVM you could probably use introspection to achieve the same at run-time. I also gave a brief presentation about the design: https://www.youtube.com/watch?v=Cl5RSlW6xAc

There are no comments on this comment yet.