Code compiling method and device
A compiling method and code technology, applied in the direction of code compilation, program code conversion, instruments, etc., can solve the problems of cumbersome compilation of multiple modules, increase the risk of errors, probabilistic errors, etc., so as to improve compilation efficiency and ensure compilation accuracy. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0066] like figure 1 As shown, this embodiment provides a code compilation method, including the following steps:
[0067] S10: Modify part or all of the code modules in the program.
[0068] S20: Determine whether to save the modification to the code module: if yes, execute S30; if not, terminate the program or return to S10.
[0069] Specifically, the saving judgment step is set to effectively remove the impact of invalid modifications. When the modification is not saved, the code module should be able to execute the last compilation result without recompiling, so the compilation description related to the code module Files may not be logged. Of course, in order to avoid omissions, S20 may not be set, and S3 is directly executed as long as S10 is executed.
[0070] S30: Record the identification information of the compilation description file corresponding to the modified code module in the record file. Preferably, S30 includes:
[0071] S301: Determine whether the reco...
Embodiment 2
[0102] The difference between this embodiment and Embodiment 1 is:
[0103] This embodiment does not have step S60, and step S3023 of this embodiment is as follows:
[0104] S3023: Clear the content in the record file, and then record the found path and file name of the compilation description file in the record file.
Embodiment 3
[0106] like figure 2 As shown, this embodiment provides a code compiling device that can execute the code compiling method in Embodiment 1, including a code modifying module 1, a first judging module 2, an identification information recording module 3, a compiling module 4, an integrating module 5 and Clear module 6.
[0107] The code modification module 1 is used to modify part or all of the code modules in the program. The first judging module 2 is respectively connected with the code modification module 1 and the identification information recording module 3, and is used to judge whether to save the modification to the code module; the judgment result of the first judging module 2 is used to decide whether to start the Identification information recording module 3; when the judgment result of the first judgment module 2 is "yes", the identification information recording module 3 starts and starts working; when the judgment result of the first judgment module 2 is "no", th...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com