A Survey of Automatic Code Generation from Natural Language

被引:8
|
作者
Shin, Jiho [1 ]
Nam, Jaechang [2 ]
机构
[1] Handong Global Univ, Dept Informat & Commun Technol, Pohang, South Korea
[2] Handong Global Univ, Sch Comp Sci & Elect Engn, Pohang, South Korea
来源
基金
新加坡国家研究基金会;
关键词
Naturalistic Programming; Software Engineering; Survey; Source Code Generation;
D O I
10.3745/JIPS.04.0216
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
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.
引用
收藏
页码:537 / 555
页数:19
相关论文
共 50 条
  • [1] NL2Code: Harnessing Transformers for Automatic Code Generation from Natural Language Descriptions
    Pavitha, N.
    Patrawala, Alimurtuza
    Kulkarni, Tejas
    Talati, Vidit
    Dahiya, Shubham
    [J]. SMART TRENDS IN COMPUTING AND COMMUNICATIONS, VOL 3, SMARTCOM 2024, 2024, 947 : 73 - 83
  • [2] A Survey of Automatic Generation of Code Comments
    Zhao, Fengrong
    Zhao, Junqi
    Bai, Yang
    [J]. 2020 THE 4TH INTERNATIONAL CONFERENCE ON MANAGEMENT ENGINEERING, SOFTWARE ENGINEERING AND SERVICE SCIENCES (ICMSS 2020), 2020, : 21 - 25
  • [3] A Survey of Natural Language Generation
    Dong, Chenhe
    Li, Yinghui
    Gong, Haifan
    Chen, Miaoxin
    Li, Junxin
    Shen, Ying
    Yang, Min
    [J]. ACM COMPUTING SURVEYS, 2023, 55 (08)
  • [4] Automated Code Generation from System Requirements in Natural Language
    Francu, Jan
    Hnetynka, Petr
    [J]. E-INFORMATICA SOFTWARE ENGINEERING JOURNAL, 2009, 3 (01) : 73 - 88
  • [5] Automatic code generation from unified modelling language sequence diagrams
    Kundu, Debasish
    Samanta, Debasis
    Mall, Rajib
    [J]. IET SOFTWARE, 2013, 7 (01) : 12 - 28
  • [6] Automatic Generation of Natural Language Explanations
    Costa, Felipe
    Ouyang, Sixun
    Dolog, Peter
    Lawlor, Aonghus
    [J]. COMPANION OF THE 23RD INTERNATIONAL CONFERENCE ON INTELLIGENT USER INTERFACES (IUI'18), 2018,
  • [7] Automatic Generation of Natural Language Parsers from Declarative Specifications
    Gomez-Rodriguez, Carlos
    Vilares, Jesus
    Alonso, Miguel A.
    [J]. STAIRS 2006, 2006, 142 : 259 - +
  • [8] Automatic Generation of UTP Models from Requirements in Natural Language
    Masuda, Satoshi
    Matsuodani, Tohru
    Tsuda, Kazuhiko
    [J]. 2016 IEEE NINTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW), 2016, : 1 - 6
  • [9] Recent Advances in Intelligent Source Code Generation: A Survey on Natural Language Based Studies
    Yang, Chen
    Liu, Yan
    Yin, Changqing
    [J]. ENTROPY, 2021, 23 (09)
  • [10] Transformers based Python']Python Code Generation from Natural Language
    Swathi, Smt E.
    Vanga, Abhinav Reddy
    [J]. 2024 5TH INTERNATIONAL CONFERENCE ON INNOVATIVE TRENDS IN INFORMATION TECHNOLOGY, ICITIIT 2024, 2024,