arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1409.6926cs.SE
收藏

关于语义的注释(重点是UML)

A Note on Semantics (with an Emphasis on UML)

Bernhard Rumpe

摘要:

本注释阐明了句法和语义的概念及其关系。今天,许多混乱产生于“语义学”一词被用于不同的含义。我们讨论了一个通用的方法,在定义语义,是可行的文本和图形符号,并讨论这种方法使用一个例子形式化。层次Mealy自动机的形式化和语义定义使用输入/输出行为允许我们定义一个规范,以及实现语义。最后,分类不同的方法,适合在这个框架。这种分类也可以在定义新语言的语义时作为指导方针。

英文摘要:

This note clarifies the concept of syntax and semantics and their relationships. Today, a lot of confusion arises from the fact that the word "semantics" is used in different meanings. We discuss a general approach at defining semantics that is feasible for both textual and diagrammatic notations and discuss this approach using an example formalization. The formalization of hierarchical Mealy automata and their semantics definition using input/output behaviors allows us to define a specification, as well as an implementation semantics. Finally, a classification of different approaches that fit in this framework is given. This classification may also serve as guideline when defining a semantics for a new language.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑