J4

• Original Articles • Previous Articles     Next Articles

Research on a domain specific language constructing method based on objects

HU Sheng-ming;LI Qing-shan;CHEN Ping

  

  1. Research Inst. of Software Engineering, Xidian Univ., Xi′an 710071, China
  • Received:1900-01-01 Revised:1900-01-01 Online:2006-02-20 Published:2006-02-20

Abstract: This paper aims at giving out a guideline for defining a DSL(Domain Specific Language) by presenting a language constructing method based on Objects. DSL semantics is analyzed and decomposed into Domain Specific Semantics and Domain Independent Semantics, and then objects are employed to encapsulate the former. View objects and model objects are used to define and interpret the Domain Specific Semantics, and language tools are used to generate the general features of a language. Then objects and general language features are combined and a DSL is constructed. This method makes the DSL constructing process rapid and clear, and more expandability can be achieved. DSL developers can implement the DSL interpreter by efficiently incorporating this method with language tools.

Key words: object based, domain specific language, language constructing method, DSL semantics

CLC Number: 

  • TP311