计算机科学 > 程序设计语言
[提交于 2009年6月10日]
标题:Creating Textual Language Dialects Using Aspect-like Techniques
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Here we present a work aimed on efficiently creating textual language dialects and supporting tools for them (e.g. compiler front-ends, IDE support, pretty-printers, etc.). A dialect is a language which may be described with a (relatively small) set of changes to some other language (a parent language). For example we can consider SQL dialects used in DB-management systems. We propose to use aspects for grammars to define different features of the anguage and to transform grammars. A dialect is created by defining a syntactical spect which modifies the parent language. This technique is not dependent on any particular language design, AST structure or parsing technology and provides a uniform way for creating dialects, which extend or restrict languages.
提交历史
来自:Andrey Breslav[v1] 2009年6月10日 星期三 00:00:00 UTC