Inferring Pluggable Types with Machine Learning
21 Jun · Kazi Amanul Islam Siddiqui, Martin Kellogg · arXiv:2406.15676
Pluggable type systems allow programmers to extend the type system of a programming language to enforce semantic properties defined by the programmer. Pluggable type systems are difficult to deploy in legacy codebases because they require programmers to write type annotations manually. This paper investigates how to use machine learning to infer type qualifiers automatically. We propose a novel representation,…