Tool support for component-based semantics
Tool support for component-based semantics
复制标题
基于组件的语义的工具支持
DOI:
10.1145/2892664.2893464
复制
发表时间:
2016
期刊:
影响因子:
--
通讯作者:
Binsbergen L
中科院分区:
文献类型:
--
作者:
Binsbergen L
The developers of a programming language need to document its intended syntax and semantics, and to update the documentation when the language evolves. They use formal grammars to define context-free syntax, but usually give only an informal description of semantics. Use of formal semantics could greatly increase the consistency and completeness of language documentation, support rapid prototyping, and allow empirical validation. Modularity of semantics is essential for practicality when scaling up to definitions of larger languages. Component-based semantics takes modularity to the highest possible level. In this approach, the semantics of a language is defined by equations translating its constructs (compositionally) to combinations of so-called fundamental constructs, or `funcons'. The definition of each funcon is a small, highly reusable component. The PLanCompS project has defined a substantial library of funcons, and shown their reusability in several case studies. We have designed a meta-language called CBS for component-based semantics, and an IDE to support development, rapid prototyping, and validation of definitions in CBS. After introducing and motivating CBS, we demonstrate how the IDE can be used to browse and edit the CBS definition of a toy language, to generate a prototype implementation of the language, and to parse and run programs.
登录
查看更多内容
DOI:
--
发表时间:
2014
期刊:
Workshop on Rewriting Logic and Its Applications
影响因子:
--
作者:
Peter D. Mosses;Ferdinand Vesely
通讯作者:
Ferdinand Vesely
DOI:
--
发表时间:
2015
期刊:
International Conference on Rewriting Techniques and Applications
影响因子:
--
作者:
V. Vergu;P. Néron;E. Visser
通讯作者:
E. Visser
DOI:
--
发表时间:
2013
期刊:
Foundations of Software Science and Computation Structure
影响因子:
--
作者:
Martin Churchill;Peter D. Mosses
通讯作者:
Peter D. Mosses
DOI:
--
发表时间:
2004
期刊:
J. Log. Algebraic Methods Program.
影响因子:
--
作者:
Peter D. Mosses
通讯作者:
Peter D. Mosses
DOI:
--
发表时间:
2009
期刊:
SOS@ICALP
影响因子:
--
作者:
Peter D. Mosses;M. New
通讯作者:
M. New