arrow
返回

Programming by Example Made Easy

delete2023-11-24
delete2
delete
OA
AI
J
Jiarong Wu
L
Lili Wei
Y
Yanyan Jiang *
S
Shing-Chi Cheung *
L
Luyao Ren
C
Chang Xu
DOI:10.1145/3607185delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Programming by example (PBE) is an emerging programming paradigm that automatically synthesizes programs specified by user-provided input-output examples. Despite the convenience for end-users, implementing PBE tools often requires strong expertise in programming language and synthesis algorithms. Such a level of knowledge is uncommon among software developers. It greatly limits the broad adoption of PBE by the industry. To facilitate the adoption of PBE techniques, we propose a PBE framework called BEE, which leverages an entity-action model based on relational tables to ease PBE development for a wide but restrained range of domains. Implementing PBE tools with Bee only requires adapting domain-specific data entities and user actions to tables, with no need to design a domain-specific language or an efficient synthesis algorithm. The synthesis algorithm of Bee exploits bidirectional searching and constraint-solving techniques to address the challenge of value computation nested in table transformation. We evaluated Bee's effectiveness on 64 PBE tasks from three different domains and usability with a human study of 12 participants. Evaluation results show that Bee is easier to learn and use than the state-of-the-art PBE framework, and the bidirectional algorithm achieves comparable performance to domain-specifically optimized synthesizers.
Keyword:
Program synthesis
programming by example

期刊

A
ACM Transactions on Software Engineering and Methodology
IF:
6.2
论文数:
1.2K
被引数:
3.4K

机构

N
nanjing university
学者数:
7.8W
论文数: 5.6W
被引数: 87
引用论文

引用论文

Mechanical circulatory support in children
err1994-01-01
err0
PREAI
errS SCHEININ; B RADOVANCEVIC; S PARNIS; D OTT; J BRICKER; J TOWBIN; N ABOUAWDI; O FRAZIER
err分享
err收藏
Morphometry of cardiac hypertrophy induced by experimental renal hypertension
err1979-10-01
err0
PREAI
errJoseph Wiener; Filiberto Giacomelli; Alden V. Loud; Piero Anversa
err分享
err收藏
Prevention of corticosteroid bone loss
err1993-01-01
err0
PREAI
errP. Sambrook; J. Birmingham; P. Kelly; S. Kempler; T. Nguyen; N. Pocock; J. Eisman
err分享
err收藏
Exercise Performance and Chronotropic Response in Heart Failure Patients With Implantable Left Ventricular Assist Devices
err1998-05-01
err0
PREAI
errKaren B James; Suzanne Rodkey; Patrick M McCarthy; James D Thomas; Gordon Blackburn; Shelly Sapp; Rita Vargo; Michael S Lauer; James B Young
err分享
err收藏
Fragile X‐associated tremor/ataxia syndrome: Regional decrease of mitochondrial DNA copy number relates to clinical manifestations
err2019-05-24
err0
errOAAI
errMaria I. Alvarez‐Mora; Petar Podlesniy; Ellen Gelpi; Renate Hukema; Irene Madrigal; Javier Pagonabarraga; Ramon Trullas; Montserrat Mila; Laia Rodriguez‐Revenga
err分享
err收藏
Hemodynamic profile of patients with acute myocardial infarction at risk of infarct expansion
err1987-07-01
err0
PREAI
errLuc A. Piérard; Adelin Albert; Frederic Gilis; Muriel Sprynger; Jean Carlier; Henri E. Kulbertus
err分享
err收藏
err分享
err收藏
学者 查看更多内容