Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for realizing automatic altering name in computer programmed language

A computer programming and automatic change technology, applied in the direction of program control devices, etc., can solve the problems of increasing the difficulty of debugging work, costing a lot of time, missing changes, and multiple changes.

Inactive Publication Date: 2007-11-07
SHENYANG INSTITUTE OF CHEMICAL TECHNOLOGY
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This kind of modification will take a lot of time, and there may be omissions and multiple changes, which will increase the difficulty of debugging.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for realizing automatic altering name in computer programmed language
  • Method for realizing automatic altering name in computer programmed language

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] The present invention will be described in detail below with reference to the drawings.

[0018] In the programming process, first position the cursor on the name definition part that needs to be changed, select the content to be modified to modify and click the mouse to activate the substitution event to enter the modification and replacement editor; secondly, judge the modification content, if it is a sub When the variable or parameter of the program or class module, read the subprogram or module into the memory; otherwise, read all the code into the memory; then divide the code line into words according to the grammatical rules, identify the old name to be changed, and change it Replace with a new name, and continue this action until the end of the code line; finally rewrite the modified code into the editor and restore the cursor.

[0019] Devices that realize automatic name change in computer programming languages ​​include;

[0020] Storage module that can store progr...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

This invention relates to a method for realizing automatic alteration of names in computer programming languages including: first of all localizing a cursor on a name definition part to be altered, selecting a content to be modified and clicking the mouse, activating a substitute matter to enter into a modification and substitution editor, then judging the modified content, if it is the variable or parameter of a subprogram or kind-module, then the subprogram or the module is read into the memory, otherwise, all codes are read into the memory and all code lines are divided into words according to the grammar rule, old names to be altered are identified and replaced by new names till the end of code lines, finally, rewriting the modified codes into the editor and recovering the cursor. An automatic alteration device includes: a storage module storing a programming software system, designed environment of program language to realize automatic alteration and replacement of names and reduce the work of programmers.

Description

Technical field [0001] The invention relates to a method for realizing automatic name management in computer programming, in particular to a method for realizing automatic name change in a computer programming language. Background technique [0002] When programming in a programming language, the names used in the program, including component names, subroutines, procedures, functions, variables, constants, data types, arrays, etc., are not necessarily related to each other, so they occur When changing, the corresponding part of the source code cannot be changed automatically and needs to be changed manually. This kind of modification will consume a lot of time, and there may be missed and over-modified phenomena, which will increase the difficulty of debugging. Summary of the invention [0003] The purpose of the present invention is to provide a storage module and a programming language design environment for a storable programming system that realizes automatic name change in ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/44
Inventor 张晓丹
Owner SHENYANG INSTITUTE OF CHEMICAL TECHNOLOGY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products