计算机科学 > 程序设计语言
[提交于 2008年1月9日]
标题:DSL development based on target meta-models. Using AST transformations for automating semantic analysis in a textual DSL framework
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:This paper describes an approach to creating textual syntax for Do- main-Specific Languages (DSL). We consider target meta-model to be the main artifact and hence to be developed first. The key idea is to represent analysis of textual syntax as a sequence of transformations. This is made by explicit opera- tions on abstract syntax trees (ATS), for which a simple language is proposed. Text-to-model transformation is divided into two parts: text-to-AST (developed by openArchitectureWare [1]) and AST-to-model (proposed by this paper). Our approach simplifies semantic analysis and helps to generate as much as possi- ble.
提交历史
来自:Andrey Breslav[v1] 2008年1月9日 星期三 00:00:00 UTC