计算机科学 > 软件工程
[提交于 2015年6月10日]
标题:A General Architecture for Heterogeneous Language Engineering and Projectional Editor Support
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Tool support for language engineering has typically prioritises concrete syntax over abstract syntax by providing meta-languages for expressing concrete syntax and then mapping concrete to abstract structures. Text-based languages are usually specified using a BNF-like language used to generate a syntax-aware editor that includes features such as keyword completion. Similarly, graphical languages are defined using a declarative graphical syntax language, producing an editor that supports features such as shapes, graphs and edges. Projectional editors invert traditional approaches by prioritising abstract over concrete syntax. This paper describes a projectional meta-tool architecture, including general purpose abstract and concrete meta-languages, that uses declarative rules to integrate the syntax and tool support for a range of heterogeneous languages. The architecture has been implemented in Racket and the paper illustrates the architecture with concrete examples.
提交历史
来自:Tony Clark[v1] 2015年6月10日 星期三 17:10:09 UTC