Etter, Marc (2024) TypeSearch: Type-Directed API Search For All. Masters thesis, OST Ostschweizer Fachhochschule.
MA_TypeSearch_TechnicalReport.pdf - Supplemental Material
Download (1MB)
Abstract
Software developers spend a lot of their time finding and composing pre-existing functions from various libraries. Almost all developers today use general-purpose search engines for this search. Specialized search engines such as Hoogle additionally use type information to improve this search, and have been successful for some typed functional programming languages. The options currently available for type-directed search for mainstream object-oriented languages is limited. Existing approaches for these languages do not have first-class support for subtyping or parametric polymorphism.
The splitting and composition of a desired functionality into and from a number of pre-existing functions is also a task that needs to be done manually. In this Master’s Thesis we present a proof-search-based approach to type-directed search with first-class support for subtyping, parametric polymorphism, splitting, and composition. The approach is language agnostic, and can be specialized to simultaneously support multiple typed object-oriented languages. Given that most mainstream languages fall under this category, this approach would extend the benefits of type-directed search to the majority of programmers. As a proof of concept, we provide a running implementation of the core language-agnostic approach and extend it to support the Java programming language. Further extensions would allow the tool to simultaneously support multiple programming languages using the same query syntax.
Item Type: | Thesis (Masters) |
---|---|
Subjects: | Topics > Software > Software Modeling Metatags > IFS (Institute for Software) |
Divisions: | Master of Advanced Studies in Software Engineering |
Depositing User: | Stud. I |
Contributors: | Contribution Name Email Thesis advisor Mehta, Farhad UNSPECIFIED |
Date Deposited: | 17 Apr 2024 07:12 |
Last Modified: | 17 Apr 2024 07:12 |
URI: | https://eprints.ost.ch/id/eprint/1196 |