On the Soundness of Auto-completion Services for Dynamically Typed Languages
| Authors | |
|---|---|
| Publication date | 2024 |
| Host editors |
|
| Book title | GPCE '24 |
| Book subtitle | Proceedings of the 23rd ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences : October 21-22, 2024, Pasadena, CA, USA |
| ISBN (electronic) |
|
| Pages (from-to) | 107–120 |
| Publisher | New York, NY: Association for Computing Machinery |
| Organisations |
|
| Abstract |
Giving auto-completion candidates for dynamically typed languages requires complex analysis of the source code, especially when the goal is to ensure that the completion candidates do not introduce bugs. In this paper, we introduce an approach that builds upon abstract interpretation and the scope graph framework to obtain an over-approximation of the name binding seen at run-time. The over-approximation contains enough information to implement auto-completion services such that the given suggestions do not introduce name binding errors. To demonstrate our approach, we compare the suggestions given by our approach with the state of the art completion services on a subset of the Python programming language.
|
| Document type | Conference contribution |
| Language | English |
| Published at | https://doi.org/10.1145/3689484.3690734 |
| Downloads |
3689484.3690734
(Final published version)
|
| Permalink to this page | |
