Affiliation:
1. Microsoft Research, Redmond, WA, USA
2. Massachusetts Institute of Technology, Cambridge, MA, USA
Abstract
The desired behavior of a program can be described using an abstract model. Compiling such a model into executable code requires advanced compilation techniques known as synthesis. This paper presents an object-based language, called Jennisys, where programming is done by introducing an abstract model, defining a concrete data representation for the model, and then being aided by automatic synthesis to produce executable code. The paper also presents a synthesis technique for the language. The technique is built on an automatic program verifier that, via an underlying SMT solver, is capable of providing concrete models to failed verifications. The technique proceeds by obtaining sample input/output values from concrete models and then extrapolating programs from the sample points. The synthesis aims to produce code with assignments, branching structure, and possibly recursive calls. It is the first to synthesize code that creates and uses objects in dynamic data structures or aggregate objects. A prototype of the language and synthesis technique has been implemented.
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Cited by
11 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. LooPy: interactive program synthesis with control structures;Proceedings of the ACM on Programming Languages;2021-10-20
2. Cyclic program synthesis;Proceedings of the 42nd ACM SIGPLAN International Conference on Programming Language Design and Implementation;2021-06-18
3. Deductive Synthesis of Programs with Pointers: Techniques, Challenges, Opportunities;Computer Aided Verification;2021
4. Bridging Arrays and ADTs in Recursive Proofs;Tools and Algorithms for the Construction and Analysis of Systems;2021
5. Trident: Controlling Side Effects in Automated Program Repair;IEEE Transactions on Software Engineering;2021