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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
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