Software code generation method and device, electronic equipment and storage medium
The invention relates to a software code generation method and device, electronic equipment and a storage medium. The method comprises the steps that a function requirement language input by a user is received; analyzing the function demand language by using a pre-trained large language model to gen...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention relates to a software code generation method and device, electronic equipment and a storage medium. The method comprises the steps that a function requirement language input by a user is received; analyzing the function demand language by using a pre-trained large language model to generate a corresponding front-end demand code; analyzing the front-end demand code to generate a target syntax tree; and generating a compilable and executable target software code based on the target syntax tree. Therefore, the software development efficiency can be improved, the user development cost is saved, and the user experience is improved.
本申请涉及一种软件代码生成方法、装置、电子设备及存储介质,方法包括:接收用户输入的功能需求语言;利用预先训练的大语言模型,对所述功能需求语言进行解析,生成对应的前端需求代码;对所述前端需求代码进行解析,生成目标语法树;基于所述目标语法树,生成可编译执行的目标软件代码。由此可以实现提升软件开发效率,节约用户开发成本,提升用户体验。 |
---|