Skip to content
conftrace_
2017 ACL ACL 2017

A Syntactic Neural Model for General-Purpose Code Generation

AbstractWe consider the problem of parsing natural language descriptions into source code written in a general-purpose programming language like Python. Existing data-driven methods treat this problem as a language generation task without considering the underlying syntax of the target programming language. Informed by previous work in semantic parsing, in this paper we propose a novel neural architecture powered by a grammar model to explicitly capture the target syntax as prior knowledge. Experiments find this an effective way to scale up to generation of complex programs from natural language descriptions, achieving state-of-the-art results that well outperform previous code generation and semantic parsing approaches.

๐ŸŒฑ Topic Pioneer - Code Generation
๐ŸŒ‰ Interdisciplinary Bridge - Artificial Intelligence and Computer Science and Natural Language Processing
๐Ÿ“ˆ Trend Setter - Code Generation
๐Ÿฃ Hot Topic Early Bird - neural architecture

More from ACL 2017

All ACL 2017 papers โ†’