2016 · 113 citations · 41 references
ComputingComputer EngineeringComputer ScienceComputer ArchitectureDesign AutomationSoftware EngineeringComponent-based Software EngineeringPetri NetsSoftware ArchitectureSoftware DesignType CheckingType SystemsAutomated Program SynthesisComponent-based Software DevelopmentPetri Net ModelsPetri Net SynthesisProgram SynthesisReachabilityReachability AnalysisTest Cases
Component-based approaches to program synthesis assemble programs from a database of existing components, such as methods provided by an API. In this paper, we present a novel type-directed algorithm for component-based synthesis. The key novelty of our approach is the use of a compact Petri-net representation to model relationships between methods in an API. Given a target method signature S, our approach performs reachability analysis on the underlying Petri-net model to identify sequences of method calls that could be used to synthesize an implementation of S. The programs synthesized by our algorithm are guaranteed to type check and pass all test cases provided by the user.
41
Petri nets: Properties, analysis and applications
T. Murata · Proceedings of the IEEE · 1989 · 10.5K citations
A vector space model for automatic indexing
Gerard Salton, Anita M.-Y. Wong, Chul‐Su Yang · Communications of the ACM · 1975 · 7.4K citations · Full text
Richard M. Karp, Raymond E. Miller · Journal of Computer and System Sciences · 1969 · 984 citations
Raja Vallée-Rai, Phong Co, Étienne Gagnon et al. · 2010 · 939 citations