CN113986252A - COBOL code conversion method and device - Google Patents

COBOL code conversion method and device Download PDF

Info

Publication number
CN113986252A
CN113986252A CN202111274705.9A CN202111274705A CN113986252A CN 113986252 A CN113986252 A CN 113986252A CN 202111274705 A CN202111274705 A CN 202111274705A CN 113986252 A CN113986252 A CN 113986252A
Authority
CN
China
Prior art keywords
cobol
data
information
storage space
java
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111274705.9A
Other languages
Chinese (zh)
Inventor
王志善
王鹏飞
刘华
赵函可
谢磊
李振勇
王岩
杨春
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202111274705.9A priority Critical patent/CN113986252A/en
Publication of CN113986252A publication Critical patent/CN113986252A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/51Source to source
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/42Syntactic analysis
    • G06F8/427Parsing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/76Adapting program code to run in a different environment; Porting

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Devices For Executing Special Programs (AREA)

Abstract

The invention discloses a COBOL code conversion method and a COBOL code conversion device, which can be used in the field of finance, wherein the method comprises the following steps: obtaining the variable type, the storage space information and the hierarchical relation information of a data variable in a COBOL code; establishing a syntax tree according to the data variable type, the storage space information and the hierarchical relation information; generating a JAVA data object corresponding to a data variable according to the syntax tree; and performing COBOL code conversion according to the JAVA data object. The invention can perform COBOL code conversion, improve the code conversion efficiency and the automation level and reduce the code development task amount.

Description

COBOL code conversion method and device
Technical Field
The invention relates to the field of finance, in particular to a COBOL code conversion method and device. It should be noted that the COBOL code conversion method and apparatus of the present invention can be used in the financial field, and can also be used in any field other than the financial field.
Background
The financial industry uses massive ancient codes to perform business logic operation on a host system. With the updating of computer hardware devices and the transition and development of computing platforms, managing and maintaining some long-used key business systems gradually becomes a heavy burden for users. On the one hand, maintenance personnel familiar with such ancient languages are in short supply and are gradually diminishing with time; on the other hand, the old system is difficult to be integrated with new service requirements, and a data gap exists between the systems; finally, the system logic involved in the ancient code is complex and burdensome. Re-developing new systems would instead be time consuming and expensive, and one possible solution would be to migrate these old systems to new languages or platforms like JAVA or Python. How to migrate COBOL data to a new platform and maintain the functional equivalence of the original COBOL code becomes one of the basic problems that the original code migration must solve.
The traditional code conversion COBOL code conversion method cannot guarantee the precision and accuracy requirements of data operation, errors are easy to occur in compiling, manual migration workload is large, conversion efficiency is low, a data storage space cannot be well controlled, and redundant codes are easy to generate.
Therefore, there is a need for a COBOL transcoding scheme that can overcome the above-mentioned problems.
Disclosure of Invention
The embodiment of the invention provides a COBOL code conversion method, which is used for COBOL code conversion, improving the code conversion efficiency and automation level and reducing the code development task amount, and comprises the following steps:
obtaining the variable type, the storage space information and the hierarchical relation information of a data variable in a COBOL code;
establishing a syntax tree according to the data variable type, the storage space information and the hierarchical relation information;
generating a JAVA data object corresponding to a data variable according to the syntax tree;
and performing COBOL code conversion according to the JAVA data object.
An embodiment of the present invention provides a COBOL code conversion apparatus for performing COBOL code conversion, improving code conversion efficiency and automation level, and reducing code development task amount, the apparatus including:
the information acquisition module is used for acquiring the variable type, the storage space information and the hierarchical relationship information of the data variable in the COBOL code;
the syntax tree establishing module is used for establishing a syntax tree according to the data variable type, the storage space information and the hierarchical relation information;
the object generation module is used for generating JAVA data objects corresponding to the data variables according to the syntax tree;
and the code conversion module is used for performing COBOL code conversion according to the JAVA data object.
The embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the COBOL transcoding method is implemented.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program for executing the above COBOL code conversion method is stored in the computer-readable storage medium.
The embodiment of the invention obtains the variable type, the storage space information and the hierarchical relation information of the data variable in the COBOL code; establishing a syntax tree according to the data variable type, the storage space information and the hierarchical relation information; generating a JAVA data object corresponding to a data variable according to the syntax tree; and performing COBOL code conversion according to the JAVA data object. The embodiment of the invention carries out preliminary modeling on COBOL data by using a data abstraction technology, generates a JAVA data object corresponding to a data variable according to an established syntax tree, and effectively maps COBOL data description with fuzzy data type boundaries to JAVA types by using a pure JAVA packaging method, thereby realizing functionally equivalent migration of COBOL data to a JAVA platform, improving the code conversion efficiency and the automation level and reducing the code development task amount.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:
FIG. 1 is a diagram illustrating a COBOL transcoding method according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating COBOL data object definition according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a syntax tree representation after transformation according to an embodiment of the present invention;
FIG. 4 is a data object access hierarchy diagram in an embodiment of the present invention;
FIG. 5 is a diagram illustrating a COBOL code conversion apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
First, terms in the embodiments of the present invention are described:
BCD code: the 10 digits of 0-9 in 1 digit decimal number are represented by 4 digit binary number, which is a binary digit coding form, i.e. binary coded decimal code.
Character data: character data is used to represent the basic data types in the code and can be subdivided into Alpha-numeric, Alpha-numeric and numeric editors (numericeditors).
Digital data: the digital data types are used to represent the difference of the memory data format of the data, and can be subdivided into ASCII code format (NumericDisplay), BCD code format (NumericBCD), complement binary format (NumericBIN), floating point single precision format (NumericFloat), floating point double precision format (NumericDouble), small tail binary format (NumericFive) and small tail extension binary format (NumericX).
Record type: the record type can represent variables in a code in the form of an object, and is represented in the form of an object in JAVA code.
The goto statement: unconditional translation statements in COBOL code allow unconditional transfer of control to tagged statements within the same function.
A perform statement: in the COBOL program, in order to make the repeated part appear only once in the program, the repeated part is written into a segment or a section (with a segment name or a section name) separately, and the segment is rotated each time the part of the statement is executed by using a form statement, and the execution is completed.
The process part: the COBOL program consists of four parts (Division), a label part, an environment part, a data part and a process part. The Data Division (Data Division) is used to store predefined variables, while the process Division (Procedure Division) is composed of sections (Section), which in turn are composed of segments (param). Each segment is composed of one or more statements, variables can be used in the statements, and the covering relation is as follows: procedure > segment > variables.
Syntax tree: each data object is part of a group item (record), and variables in the data object are coupled into a tree structure according to different layer numbers for representing the hierarchical relationship of the data object.
As described above, in the conventional code migration conversion process, for example, the definition and migration of variables are generally directed to the digital data type of COBOL, and the data range represented by the digital data type directly corresponds to the basic data types of modern languages, such as char, short, int, and long. For individual grammatical differences, such as COBOL turning to JAVA object-oriented, per-form and goto statements usage, manual migration of code is performed by manually parsing logic. The conventional method has the following disadvantages: 1. directly corresponding the data type in the COBOL to the basic data types of modern languages, such as char, short int long, etc., is a relatively rough method, which can neither effectively retain the hierarchical relationship and storage space information of the original data object nor guarantee the precision requirement of data operation. 2. The migration of individual special statements in the COBOL is complex, and the workload of manual migration is large. 3. The variables in the COBOL are small, the variables in the COBOL are large, the data storage space cannot be well controlled, redundant codes are easy to generate, and the production cost is increased. Compiling is easy to make mistakes, and mistakes are not easy to be checked.
In order to perform COBOL transcoding, improve transcoding efficiency and automation level, and reduce the amount of code development tasks, an embodiment of the present invention provides a COBOL transcoding method, as shown in fig. 1, which may include:
step 101, obtaining variable types, storage space information and hierarchical relation information of data variables in COBOL codes;
102, establishing a syntax tree according to the data variable type, the storage space information and the hierarchical relation information;
103, generating a JAVA data object corresponding to the data variable according to the syntax tree;
and 104, performing COBOL code conversion according to the JAVA data object.
As shown in fig. 1, in the embodiment of the present invention, variable types, storage space information, and hierarchical relationship information of data variables in COBOL codes are obtained; establishing a syntax tree according to the data variable type, the storage space information and the hierarchical relation information; generating a JAVA data object corresponding to a data variable according to the syntax tree; and performing COBOL code conversion according to the JAVA data object. The embodiment of the invention carries out preliminary modeling on COBOL data by using a data abstraction technology, generates a JAVA data object corresponding to a data variable according to an established syntax tree, and effectively maps COBOL data description with fuzzy data type boundaries to JAVA types by using a pure JAVA packaging method, thereby realizing functionally equivalent migration of COBOL data to a JAVA platform, improving the code conversion efficiency and the automation level and reducing the code development task amount.
In the embodiment, the variable type, the storage space information and the hierarchical relationship information of the data variable in the COBOL code are obtained.
In this embodiment, the storage space information is triple representation information, and the triple representation information includes: byte array, starting position of storage space, length of data object.
In a specific implementation, the triplet indicating information may be represented as (value, offset, length), where value represents a byte type array, offset represents a start position of the storage space, and length represents a length of the data object.
In this embodiment, the variable types include: a number or text. The variable type is determined according to BCD code representation, and related information of character data (text) or numerical data (number) type is required to be determined at the time of conversion.
In particular implementations, the variable types include numbers (Numeric) or text (or strings).
In specific implementation, the hierarchical relationship information, that is, the hierarchical position of the data variable, such as the object cat, has a hierarchy of animal { { mammals { cats }, { dogs }, { … } }, { reptilies { … }, { … } }, where animal may be represented as 0, mammals may be represented as 0.0, cat may be represented as 0.0.0, and dog may be represented as 0.0.1, so that the hierarchical relationship is represented by the data.
In the embodiment, a syntax tree is established according to the data variable type, the storage space information and the hierarchical relation information; in the embodiment, a JAVA data object corresponding to a data variable is generated according to the syntax tree; in an embodiment, COBOL code conversion is performed according to the JAVA data object.
In this embodiment, according to the JAVA data object, performing COBOL code conversion includes:
according to the JAVA data object, utilizing a recursive algorithm to jump a segment statement, wherein the segment statement comprises: a perfor statement and a goto statement.
During specific implementation, according to the data variable type, the storage space information and the hierarchical relation information, a syntax tree is established, information encapsulation is carried out on variables, one data can correspond to one syntax tree, and one syntax tree is correspondingly converted into one JAVA object. According to the packaged data type, according to a JAVA data object, a recursion algorithm is utilized to jump a segment statement, so that a certain item of perfor and goto statements which are difficult to convert are processed, the logical relation between functions in a program code is cleared, namely, the converted JAVA data object is used as a parameter of a JAVA language and is transmitted to a sub method, the recursion algorithm is combined to realize the function equivalent to a COBOL code, and further, the substantial conversion of the code and the generation of the code are carried out according to a compiling principle.
Specifically, the embodiment of the present invention needs to use a recursive algorithm to solve the jump problem of the perform and goto statements in COBOL. The method of combining switch statement and recursive call of high-level language realizes the transfer of control flow formed by combining goto statement and perfor statement. As shown in fig. 2 to 4, fig. 2 is a COBOL data object definition, fig. 3 is a syntax tree representation after conversion, and fig. 4 is a data object access hierarchy diagram. The specific algorithm is as follows:
1. a compiling unit of the COBOL, which is usually a process (Procedure), is converted into a JAVA class with the same name, a uniformly named method entry is placed in the class, and parameter lists of the method entry respectively correspond to parameters in the original COBOL process (Procedure). The method simply calls another method, sub, and captures the exceptions that the sub method throws when executing the end statement. Therefore, the subprogram call in the original COBOL code can be conveniently converted into the entry method call of the JAVA class with the same name.
2. And placing a self-recursive sub method in the JAVA class generated in the last step for realizing an actual process body in the original COBOL process. The parameter list of this method includes two segment name parameters begin and end for determining the start and end of program execution, in addition to the same parameter list as the _ entry method. The sub method is mainly an infinite loop, and the loop comprises a switch-case structure, wherein each label corresponds to a section name in the original COBOL program, and each case statement corresponds to a section body of the original COBOL program. In order to facilitate the consistency of program processing, a unique EXIT label is added before the program is ended, and the corresponding case body is exited from an infinite loop by adopting a method of exception throwing. The basic form after program conversion is as follows:
Figure BDA0003329063270000061
when a goto statement is encountered, it is translated into the following form:
{label=dest;continue LOOP;}
here dest is the segment (section) name corresponding to the jump target.
When a form statement is encountered, it is translated into the following recursive call form:
sub(begin,end,paraList)
wherein begin and end are the start segment name and the end segment name of the executed statement of the form statement, respectively. Meanwhile, in order to return a form statement after the sub executes the segment corresponding to the end, 1 statement is added to each case statement body:
if(end==segName)return;
segName is the segment name of this segment.
Finally if the perform statement carries a loop condition we simply do it with the while or for statement.
In the embodiment of the invention, a virtual syntax tree is constructed according to the variable hierarchical relation, the storage space and the data type in the variable conversion process, and the syntax tree is used for further converting the variables into the variable objects in JAVA. The JAVA language for accessing data variable objects is described as follows:
Figure BDA0003329063270000071
the embodiment of the invention expresses the hierarchical relationship of the data objects in the form of a syntax tree by using data type encapsulation, uniformly converts COBOL data types into JAVA objects on the basis of the syntax tree, well defines storage space, defines data types and the like, and encapsulates the data types. And the problem of the jump of the perform statement and the goto statement in the COBOL code is effectively solved by using a recursive algorithm. So that the migration of the code becomes more automatic and the reliability of the code is improved. The designed code conversion mode is mainly applied to the conversion process of COBOL codes of a host system to X86 environment JAVA codes in a bank host downward movement project, and is used for improving the downward movement working efficiency of the code host, improving the automation level, reducing the code development task amount and the like. The invention has the advantages of fast and accurate code conversion, code redundancy and manual code avoidance and workload simplification. After the storage of variables and the determination of the hierarchical relation and the solution of the jump problem of the segment statement, the workload of code conversion is greatly reduced and the error probability is greatly reduced.
Based on the same inventive concept, the embodiments of the present invention further provide a COBOL transcoding apparatus, as described in the following embodiments. Since the principles for solving these problems are similar to those of the COBOL transcoding method, the implementation of the COBOL transcoding apparatus can be referred to the implementation of the method, and repeated descriptions are omitted.
Fig. 5 is a structural diagram of a COBOL code conversion apparatus according to an embodiment of the present invention, and as shown in fig. 5, the COBOL code conversion apparatus includes:
an information obtaining module 501, configured to obtain a variable type, storage space information, and hierarchical relationship information of a data variable in a COBOL code;
a syntax tree building module 502, configured to build a syntax tree according to the data variable type, the storage space information, and the hierarchical relationship information;
an object generating module 503, configured to generate a JAVA data object corresponding to the data variable according to the syntax tree;
and a code conversion module 504, configured to perform COBOL code conversion according to the JAVA data object.
In one embodiment, the storage space information is triple representation information, and the triple representation information includes: byte array, starting position of storage space, length of data object.
In one embodiment, the variable types include: a number or text.
In one embodiment, the transcoding module 504 is further configured to:
according to the JAVA data object, utilizing a recursive algorithm to jump a segment statement, wherein the segment statement comprises: a perfor statement and a goto statement.
In summary, in the embodiments of the present invention, the variable type, the storage space information, and the hierarchical relationship information of the data variable in the COBOL code are obtained; establishing a syntax tree according to the data variable type, the storage space information and the hierarchical relation information; generating a JAVA data object corresponding to a data variable according to the syntax tree; and performing COBOL code conversion according to the JAVA data object. The embodiment of the invention carries out preliminary modeling on COBOL data by using a data abstraction technology, generates a JAVA data object corresponding to a data variable according to an established syntax tree, and effectively maps COBOL data description with fuzzy data type boundaries to JAVA types by using a pure JAVA packaging method, thereby realizing functionally equivalent migration of COBOL data to a JAVA platform, improving the code conversion efficiency and the automation level and reducing the code development task amount.
Based on the aforementioned inventive concept, as shown in fig. 6, the present invention further provides a computer device 600, which includes a memory 610, a processor 620 and a computer program 630 stored on the memory 610 and executable on the processor 620, wherein the processor 620 executes the computer program 630 to implement the aforementioned COBOL transcoding method.
Based on the foregoing inventive concept, the present invention proposes a computer-readable storage medium storing a computer program which, when executed by a processor, implements the aforementioned COBOL transcoding method.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A COBOL transcoding method, comprising:
obtaining the variable type, the storage space information and the hierarchical relation information of a data variable in a COBOL code;
establishing a syntax tree according to the data variable type, the storage space information and the hierarchical relation information;
generating a JAVA data object corresponding to a data variable according to the syntax tree;
and performing COBOL code conversion according to the JAVA data object.
2. The COBOL transcoding method of claim 1, wherein the storage space information is triple representation information, the triple representation information comprising: byte array, starting position of storage space, length of data object.
3. The COBOL transcoding method of claim 1, wherein the variable types comprise: a number or text.
4. The COBOL transcoding method of claim 1, wherein performing COBOL transcoding based on the JAVA data objects comprises:
according to the JAVA data object, utilizing a recursive algorithm to jump a segment statement, wherein the segment statement comprises: a perfor statement and a goto statement.
5. A COBOL transcoding apparatus, comprising:
the information acquisition module is used for acquiring the variable type, the storage space information and the hierarchical relationship information of the data variable in the COBOL code;
the syntax tree establishing module is used for establishing a syntax tree according to the data variable type, the storage space information and the hierarchical relation information;
the object generation module is used for generating JAVA data objects corresponding to the data variables according to the syntax tree;
and the code conversion module is used for performing COBOL code conversion according to the JAVA data object.
6. The COBOL transcoding apparatus of claim 5, wherein the storage space information is triple representation information, the triple representation information including: byte array, starting position of storage space, length of data object.
7. The COBOL transcoding apparatus of claim 5, wherein the variable types comprise: a number or text.
8. The COBOL transcoding apparatus of claim 5, wherein the transcoding module is further to:
according to the JAVA data object, utilizing a recursive algorithm to jump a segment statement, wherein the segment statement comprises: a perfor statement and a goto statement.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for executing the method of any one of claims 1 to 4.
CN202111274705.9A 2021-10-29 2021-10-29 COBOL code conversion method and device Pending CN113986252A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111274705.9A CN113986252A (en) 2021-10-29 2021-10-29 COBOL code conversion method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111274705.9A CN113986252A (en) 2021-10-29 2021-10-29 COBOL code conversion method and device

Publications (1)

Publication Number Publication Date
CN113986252A true CN113986252A (en) 2022-01-28

Family

ID=79744625

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111274705.9A Pending CN113986252A (en) 2021-10-29 2021-10-29 COBOL code conversion method and device

Country Status (1)

Country Link
CN (1) CN113986252A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114780100A (en) * 2022-04-08 2022-07-22 芯华章科技股份有限公司 Compiling method, electronic device, and storage medium
JP7287725B1 (en) 2022-09-07 2023-06-06 株式会社Shift SOURCE CODE CONVERSION DEVICE, SOURCE CODE CONVERSION METHOD, AND SOURCE CODE CONVERSION PROGRAM

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114780100A (en) * 2022-04-08 2022-07-22 芯华章科技股份有限公司 Compiling method, electronic device, and storage medium
CN114780100B (en) * 2022-04-08 2023-04-07 芯华章科技股份有限公司 Compiling method, electronic device and storage medium
JP7287725B1 (en) 2022-09-07 2023-06-06 株式会社Shift SOURCE CODE CONVERSION DEVICE, SOURCE CODE CONVERSION METHOD, AND SOURCE CODE CONVERSION PROGRAM
JP2024037601A (en) * 2022-09-07 2024-03-19 株式会社Shift Source code conversion device, source code conversion method, and source code conversion program

Similar Documents

Publication Publication Date Title
CN106919434B (en) Code generation method and device
CN113986252A (en) COBOL code conversion method and device
CN107844294B (en) High-availability contract execution method and system
Steel Jr A first version of UNCOL
CN101770363B (en) Method and device for transformation of executable code from into different programming language
CN106874244B (en) Method for constructing automatic document generation model based on work sequence
US20060287844A1 (en) Method and system for improved software localization
US9405518B2 (en) Leveraging legacy applications for use with modern applications
CN114096956A (en) Method and device for representing database operation layer
CN110737466A (en) Source code coding sequence representation method based on static program analysis
US11288062B2 (en) Automatic source code refactoring
US10248409B1 (en) Limiting the effects of source code patches on corresponding native-code patches
CN113296786B (en) Data processing method, device, electronic equipment and storage medium
US8225286B2 (en) Debugging interpreted input
WO2023016480A1 (en) Code processing method under hardware memory order architecture, and corresponding apparatus
CN112162775A (en) Java code annotation automatic generation method based on Transformer and mixed code expression
JP4724387B2 (en) Program conversion program, program conversion apparatus, and program conversion method
US10929121B2 (en) Method, device and related system for dynamically repairing application
CN102937910A (en) System and method for cross-platform conversion of control algorithms
CN115454438A (en) Method for converting HLSL shader source code into GLSL shader source code based on comparison table
CN114691151A (en) Optimized code decompiling method and system based on deep learning
CN110018816B (en) Virtual machine control system based on C/C + + compiling system and control method thereof
CN112114817B (en) COBOL language-based data dictionary field information acquisition method and device
US20140143761A1 (en) Method and system for database conversion
CN114611714A (en) Model processing method, device, system, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination