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

Method and apparatus for integrating programming scripting language in domain-specific language

A scripting language, language technology, used in program control devices, programming languages/examples, code compilation, etc.

Pending Publication Date: 2017-07-21
BEIJING AEROSPACE CONTROL CENT
View PDF6 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main purpose of the present invention is to provide a method and device for integrating a programming scripting language in a domain-specific language, so as to solve the problem in the related art that it is difficult to integrate a domain-specific language and a general-purpose programming scripting language

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 and apparatus for integrating programming scripting language in domain-specific language
  • Method and apparatus for integrating programming scripting language in domain-specific language
  • Method and apparatus for integrating programming scripting language in domain-specific language

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] It should be noted that, in the case of no conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and examples.

[0023] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0024] It should be noted that the terms "first" and "...

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 present invention discloses a method and an apparatus for integrating a programming scripting language in a domain-specific language. The method comprises: determining grammatical characteristics of the domain-specific language and the target programming scripting language, wherein the domain-specific language is the language set according to the domain; determining target keywords in the target programming scripting language and reserved symbols of the domain-specific language according to the grammatical characteristics of the domain-specific language and the target programming scripting language; based on the conditions of grammatical characteristics of the domain-specific language and the target programming scripting language, the target keywords and the reserved symbols, establishing a mapping relationship between the domain-specific language and the target programming scripting language according to a preset rule; and integrating the domain-specific language and the target programming scripting language according to the mapping relationship. According to the method and apparatus disclosed by the present invention, the problem that it is difficult to integrate the domain-specific language and the general programming scripting language in the related art is solved.

Description

technical field [0001] The invention relates to the field of natural language processing, in particular to a method and device for integrating a programming script language in a domain-specific language. Background technique [0002] Domain-specific languages ​​in related technologies can generally only be described and processed for services in specific domains in specific host software systems. The programming scripting language has its own independent grammatical system, which cannot be further simplified and improved for different application fields. Therefore, there are problems in the following aspects: (1) A full-featured domain-specific language requires a large number of grammatical descriptions. To define a language with the capabilities of flow control, conditional judgment, variable / class / function definition, exception handling, and set operations, the workload is equivalent to describing or writing a language compiler (such as a C++ compiler), for those without...

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/44G06F9/45
CPCG06F8/31G06F8/42G06F8/427
Inventor 邢锦江李剑朱华邹雪梅陈险峰朱峰登史可华董扬威李亮
Owner BEIJING AEROSPACE CONTROL CENT
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