SemanticDB: a common data model for Scala developer tools
Nowadays, there is a clear trend towards standards for communication between developer tools. Language Server Protocol (LSP), a protocol that connects programming language implementations and text editors, has gained strong industrial support and at the time of writing has implementations for many programming languages and editors. Build Server Protocol (BSP) follows in LSP’s tracks with an ambition to define a protocol for communication between language servers and build tools.
While lots of work in the open-source community has been invested in unifying user experience (by codifying commonly used operations like go to definition or find all references), relatively less work went into unifying implementor experience. For example, at the moment, there exist five different LSP implementations for Scala. They all implement the same protocol that works with code, but they all use different data structures to represent that code.
In this talk, we will present SemanticDB - a data model for semantic information such as symbols and types about programs in Scala and other languages. We will discuss our experience of building an ecosystem of developers tools around SemanticDB and using these tools on Twitter source code - arguably the largest Scala codebase on the planet.
Language tools lead at Twitter, member of the Scala language committee, founder of Rsc, Scalameta and Scala Macros
Fri 28 SepDisplayed time zone: Guadalajara, Mexico City, Monterrey change
15:20 - 16:10 | Session 3: DSLs & Sponsor TalkScala 2018 at Frisco Chair(s): Sebastian Erdweg Delft University of Technology, Netherlands | ||
15:20 22mTalk | A Domain-specific Language for Microservices Scala 2018 Jacob Donham Twitter, Inc. DOI | ||
15:42 28mIndustry talk | SemanticDB: a common data model for Scala developer tools Scala 2018 Eugene Burmako Twitter, Inc. |