Communications of the ACM · 2012 · 297 citations · 23 references
ComputingComputer ScienceInformation SystemsNatural Language ProcessingProgramming LanguagesSyntaxAbstract Syntax TreesNatural Language UnderstandingParsingSyntactic AnalysisSyntax ParsingText RepresentationData Manipulation LanguageDomain-specific Language DesignDomain-specific Language EngineeringEnd UsersProgram TransformationRegular ExpressionsSpreadsheet ProgrammingTransformations
Millions of computer users must manipulate large spreadsheet data but lack programming skills to automate these tasks. The study introduces a programming‑by‑example approach enabling users to automate repetitive spreadsheet tasks. The method uses a domain‑specific language and a synthesis algorithm to learn programs from user examples, with instantiations for string syntactic, string semantic, and spreadsheet layout transformations. The add‑in was successfully evaluated on multiple benchmarks from Excel help forums.
Millions of computer end users need to perform tasks over large spreadsheet data, yet lack the programming knowledge to do such tasks automatically. We present a programming by example methodology that allows end users to automate such repetitive tasks. Our methodology involves designing a domain-specific language and developing a synthesis algorithm that can learn programs in that language from user-provided examples. We present instantiations of this methodology for particular domains of tasks: (a) syntactic transformations of strings using restricted forms of regular expressions, conditionals, and loops, (b) semantic transformations of strings involving lookup in relational tables, and (c) layout transformations on spreadsheet tables. We have implemented this technology as an add-in for the Microsoft Excel Spreadsheet system and have evaluated it successfully over several benchmarks picked from various Excel help forums.
23
Tom M. Mitchell · Artificial Intelligence · 1982 · 1.4K citations
Sean Kandel, Andreas Paepcke, Joseph M. Hellerstein et al. · 2011 · 578 citations
Six Learning Barriers in End-User Programming Systems
Amy J. Ko, Brad A. Myers, Htet Htet Aung · 2004 · 547 citations · Full text
Computing, Computer Science, Design +16
Your wish is my command: programming by example
Choice Reviews Online · 2001 · 500 citations