Lightning Talk: sjava Demo
summary
sJava implements static s expressions for Java and compiles them away so runtime code is normal Java; a hello world example runs and prints hello world. It provides hygienic macros that run at compile time, take and return token trees, and use type-aware macro expansion so macros can inspect method and class context. Built macros include println, a for‑each that chooses index vs iterator, a with helper, and a macro that generates double dispatch. It uses NewBytecode to emit correct JVM instructions and it works end to end.
AI-written summary · about
chapters (6)
related talks
42mEternal Sunshine of the Spotless Macro
45mMaking Java more dynamic
01h 07mFrom Java to Assembly: Down the Rabbit Hole
53mWell there's your problem! Your engine's missing! A look under Java's hood
35mJava Source to Byte Code Transformation - The Hidden Story!
27mDo You Even Macro?
50mRevealing the magic behind Java annotations
01h 00mHow to create a new JVM language
