Method for compiling a source code
一种源代码、代码的技术,应用在用于编译源代码领域,能够解决不支持程序创建新规则或变换现有规则等问题
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0030] figure 1 A method 100 for compiling source code into program code is shown, the method comprising providing 101 a schema diagram based on the source code, the schema diagram corresponding to an intermediate representation of the source code according to a rule set in a first programming language , wherein the rule set includes specific replacement rules indicating that a pattern graph is to be replaced by a corresponding replacement graph assigned to the pattern graph; replacing 103 the pattern graph with the replacement graph assigned to the pattern graph; and generating 105 program code based on the replacement graph.
[0031] Thus, writing rules without extra codes can be executed. Furthermore, extensions can be performed if an existing DSL has new rules. Rules can be further written in any language supported by the DSL framework. In addition, cross-DSL rules and rule testing can be supported.
[0032] According to some implementation forms, a hierarchical DSL fr...
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