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

Code level component assembly method based on grammar reconstruction

An assembly method and code-level technology, applied in the direction of program control devices, etc., can solve the problems that hinder the research of fine-grained code-level component reuse, hinder the reuse of code fragments, and the lack of reusable and assembling mechanisms in programming languages, to achieve Guarantee reusability and increase the effect of reusability

Inactive Publication Date: 2011-03-23
ZHEJIANG UNIV
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

There are not only these two types of programming languages, but most of the existing programming languages ​​generally have a defect, that is, they do not support componentization and assembly of code, which will greatly hinder the reuse of code fragments
Nowadays, the reuse of many coarse-grained components has been extensively studied, but the lack of built-in reusable and assembling mechanisms in programming languages ​​undoubtedly hinders the research on the reuse of fine-grained code-level components.

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
  • Code level component assembly method based on grammar reconstruction
  • Code level component assembly method based on grammar reconstruction
  • Code level component assembly method based on grammar reconstruction

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The present invention will be described in detail below in conjunction with the accompanying drawings and specific examples.

[0023] A code-level component assembly method based on syntax refactoring, such as figure 1 , including two steps, one is to abstract and expand the syntax of the programming language, and the other is to assemble code-level components through grammatical reconstruction. Among them, the former is the basis for the success of the latter, and the latter embodies the function of the former.

[0024] Because this method has the advantages of language independence, in this example, we temporarily take the popular Java language as an example, and after extending its syntax, we implement assembly for the code-level components of the Java language.

[0025] Next, each step of this example will be described in sequence.

[0026] Java language grammar extension part:

[0027] Step 1. Abstract the grammar specification of the Java language, and list its...

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

The invention relates to the technical field of software engineering, in particular to a code level component assembly method based on grammar reconstruction in software development. The code level component assembly method based on the grammar reconstruction comprises the following steps: 1) expanding a normative grammar of a program language and establishing a new normative grammar which causesthe language to be capable of being constructed and assembled; and 2) assembling the code level components created according to the new normative grammar. The assembly method has the advantage of independent language, and can be used for software reuse in various fields. The method can support business process integration and reuse in different application fields and the customization and the integration of personalized services oriented to users by combining with a field component library.

Description

technical field [0001] The invention relates to the technical field of software engineering, in particular to a code-level component assembly method based on grammar reconstruction in software development. Background technique [0002] Components refer to software modules with relatively independent functions and reusability, which enable software developers to make full use of past experience and functional modules when developing new systems, without having to repeat "manufacturing wheels", thereby avoiding the friction in software development. repetitive work. Since CBSE (Component-Based Software Engineering, component-based software engineering) has become an important middleware technology, it has been widely used in finance, education, e-commerce, e-government, medical and health and other application fields. The degree of software utilization and the efficiency of software development play a good role. [0003] As the core technology of component-based software deve...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/44
Inventor 李莹赵琳邓水光吴健尹建伟吴朝晖
Owner ZHEJIANG UNIV
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