Method and system for generating target language source code from spreadsheet and storage medium

By selecting the output leadership grid in the spreadsheet, obtaining and recording the grids it references, and generating calculation class and cache class code, the problem of difficulty in generating source code in a specific form in the existing technology is solved, and the convenience of writing functions that can return multiple results is achieved.

CN119645368APending Publication Date: 2025-03-18SHENZHEN JIZHEN TECHNOLOGY CO LTD
2 Cites 0 Cited by

Patent Information

Application Number
CN202411797356.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-09
Publication Date
2025-03-18

AI Technical Summary

Technical Problem

The prior art is difficult to generate source code in a specific form, especially when writing functions that can return multiple results, due to the functions of existing code writing tools and the syntax rules of the programming language.

Method used

By selecting the output leadership grid in the spreadsheet, obtain the grids that are directly or indirectly referenced, and record the reference relationships. Based on these grids and reference relationships, calculate class code and cache class code are generated under the target language syntax requirements.

Benefits of technology

It implements the easy way to write functions that can return multiple results without being restricted by existing code writing tools and programming language syntax rules, and generate source code that conforms to the target language syntax.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention discloses a method and a system for generating a target language source code from a spreadsheet and a storage medium. The method comprises the following steps: selecting a lattice as an output leader lattice; all involved lattices of the output leader lattice are obtained, the reference relation of all the involved lattices is recorded at the same time, and the involved lattices are lattices referenced by the output leader lattice; on the basis of all the involved lattices and the reference relation of all the involved lattices, codes of a calculation class and codes of a cache class are generated under the requirement of the target language grammar, the codes of the calculation class are used for executing calculation, and the codes of the cache class are used for managing calculation results. According to the technical scheme, the problem that source codes in specific forms cannot be generated can be solved.
Need to check novelty before this filing date? Find Prior Art