Please log in to watch this conference skillscast.
Debug Server: How we use the Java implementation of the DAP (Debug Adapter Protocol) to build a basic debugger for Scala in Metals: add breakpoints, pause the program, inspect the call stack and the local variables.
Expression Compiler: The expression compiler can compile any Scala expression into a class file, that can be loaded and executed at runtime. I will tell the story of how we built it: from the initial ideas to the current implementation. I will take some concrete examples to show how it supports the most powerful features of the language, like the contextual abstractions or the macros. This is also an opportunity to discover the internal architecture of the Scala 3 compiler.
Step filter: The step filter allows the debugger to skip the methods that are entirely generated by the Scala compiler. In this part we will see how the Scala compiler translates Scala code into Java class files and how we can decompile some information back to Scala definitions using Tasty.
YOU MAY ALSO LIKE: