Litcius/Paper detail

A Survey of Automatic Code Generation from Natural Language

Jiho Shin, Jaechang Nam

2021Journal of Information Processing Systems23 citationsOpen Access PDF

Abstract

Many researchers have carried out studies related to programming languages since the beginning of computer science. Besides programming with traditional programming languages (i.e., procedural, object-oriented, functional programming language, etc.), a new paradigm of programming is being carried out. It is programming with natural language. By programming with natural language, we expect that it will free our expressiveness in contrast to programming languages which have strong constraints in syntax. This paper surveys the approaches that generate source code automatically from a natural language description. We also categorize the approaches by their forms of input and output. Finally, we analyze the current trend of approaches and suggest the future direction of this research domain to improve automatic code generation with natural language. From the analysis, we state that researchers should work on customizing language models in the domain of source code and explore better representations of source code such as embedding techniques and pre-trained models which have been proved to work well on natural language processing tasks.

Topics & Concepts

Computer scienceProgramming languageNatural language programmingFirst-generation programming languageProgramming domainFourth-generation programming languageSource codeVery high-level programming languageLow-level programming languageSyntaxProgramming language implementationNatural languageFunctional logic programmingProgramming paradigmLanguage primitiveDomain (mathematical analysis)High-level programming languageSecond-generation programming languageProgramming language specificationFifth-generation programming languageInductive programmingArtificial intelligenceUniversal Networking LanguageComprehension approachMathematicsMathematical analysisSoftware Engineering ResearchNatural Language Processing TechniquesTopic Modeling
A Survey of Automatic Code Generation from Natural Language | Litcius