A DSL case Study with Java imports implemented in TypeScript
summary
Eclipse Langium in TypeScript talks to a dedicated Java interop app via JSON‑RPC over a socket to fetch classpath, package and per‑class member info; the build generates synthetic Langium documents and per‑project token/class loaders so Java types become part of the index and global scope. Case sensitivity is resolved by combining configurable scopes, qualified names map to package nodes, implicit imports use exportNode copies, basic type inference and a new declare verb improve checking, and a VS Code extension published is under practical testing.
AI-written summary · about
chapters (6)
- 0:00BBJ and Langium intro
- 3:39BBJ to Java connection
- 8:43Mixing Basic and Java
- 17:54Type systems in BBJ
- 23:58Implicit imports in Langium
- 28:55Project outcomes & Q&A
related talks
26mDSLs in the cloud with Langium and Theia
28mBeyond LSP: Extensions for Java
38mScalaJS and Typescript: an unlikely romance
39mExtending JDT with Language Servers
44mJava Code Analysis with Database and Domain Specific Language
52mJavaslang - Functional Java Done Right
32mMulti-Language JDI
54mTypescript for the busy Java developer
