[SRC] Type-Safe Auto-Completion of Incomplete Polymorphic Programs
Incomplete programs are ubiquitous in web repositories, evolving software projects and beyond; the ability to perform auto-completion on these incomplete programs provides several benefits, including: enabling static analysis tools to analyse incomplete programs; boosting developer productivity, and so on. However, earlier efforts to do so 1) are unable to work with incomplete programs containing parametrically polymorphic types and 2) may not respect the type safety of the incomplete program.
Therefore, in this extended abstract we present an algorithm that receives an incomplete Java program that may contain parametrically polymorphic types, and reconstructs its surrounding dependencies to form a well-typed program. As this algorithm does so in a type-safe manner, it can also cite the existence of non-trivial type errors in incomplete programs. Finally, we present results from a prototype implementation of this algorithm, JavaCIP.
Extended Abstract (Extended_Abstract.pdf) | 427KiB |
Slides (APLAS Slides.pdf) | 1.14MiB |
Type-Safe Auto-Completion of Incomplete Polymorphic Programs (Poster.pdf) | 287KiB |
woohoo!
Tue 28 NovDisplayed time zone: Beijing, Chongqing, Hong Kong, Urumqi change
13:30 - 15:00 | Student Research Competition PresentationsSRC & Posters at Room 106 & 107, IIS Chair(s): Hsiang-Shang ‘Josh’ Ko Institute of Information Science, Academia Sinica | ||
13:30 20mTalk | [SRC] Separate Compilation for Compositional Programming via Extensible Records SRC & Posters Yaozhu Sun University of Hong Kong File Attached | ||
13:50 20mTalk | [SRC] Multiple Screen States for Programming with Small Screens SRC & Posters Jin Ishikawa Oita University File Attached | ||
14:10 20mTalk | [SRC] Type-Safe Auto-Completion of Incomplete Polymorphic Programs SRC & Posters Yong Qi Foo National University of Singapore File Attached | ||
14:30 20mTalk | [SRC] Relational Hoare Logic for Comparing Nondeterministic Programs and Probabilistic Programs through a Categorical Framework SRC & Posters Kazuki Matsuoka Tokyo Institute of Technology File Attached |