Interactive Java Support to your tool
summary
Interactive REPL for Java that embeds into other tools and uses the platform compiler API to parse snippets, wrap them in synthetic classes, run full type analysis and emit bytecode, then load or redefine classes via the Java debug architecture so state can be updated without a full restart. Evaluation returns immutable snippet objects and streaming snippet events with statuses (valid, rejected, recoverable). Completion and completeness queries run on-source; a Builder lets callers customize I/O, temp variable naming and in-memory file handling.
AI-written summary · about
chapters (7)
- 0:00Start
- 1:32Architecture
- 8:30J Shell Architecture
- 19:10Snippet Event
- 19:29Snippet Events
- 30:06Illegal Escape Character
- 47:12Completion Suggestions
related talks
44mJShell: An Interactive Shell for the Java Platform
41mJava9 and REPL. Forget debugging, welcome joy and productivity
31mJava9 and REPL Forget debugging, welcome joy and productivity
14mREPL : Java developers new friend
45mMaking Java more dynamic
32mREPL, do you speak it
38mGraal
30mInteractive C++ Compilation (REPL) Done in a Tiny and Embeddable Way
