~/talk

Graal-LSP: A Language Server Implementation with Polyglot Support for the GraalVM

Talkat DLS 2019 · on Sunday, 2019-10-20· [developer-experience, compilers-and-language-design]
links:none on file
links:none on file
links:none on file
links:none on file
slides:none on file

A Graal/Truffle language server that automatically enable LSP for all Truffle languages wires the Truffle instrumentation API to the Language Server Protocol, uses Truffle frames and tags for globals/locals, and runs code in an in‑memory sandbox to collect types and members for runtime-observed completions. Implementers only add tags, implement Truffle interop for objects and subclass TruffleException for syntax errors. Prototype shows useful completions for SimpleLanguage, Graal Python and Squeak; limitations include no socket sandbox, reliance on unit tests to exercise code, and canceled long runs.

AI-written summary · about

  1. 0:00The problem with tooling
  2. 2:07Truffle and instrumentation
  3. 4:41Language server integration
  4. 8:00Implementing editor support
  5. 12:38Dynamic analysis tools
  6. 15:03Technical implementation
  7. 18:41Handling dynamic challenges
  8. 22:16Limitations and conclusions
  9. 26:01Q&A and future directions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.