首页    期刊浏览 2025年05月23日 星期五
登录注册

文章基本信息

  • 标题:Asserting the Correctness of Software Language Translations
  • 本地全文:下载
  • 作者:Barroca, Bruno Fontes ; Amaral, Vasco Moreira
  • 期刊名称:Electronic Communications of the EASST
  • 电子版ISSN:1863-2122
  • 出版年度:2011
  • 卷号:50
  • 期号:0
  • 语种:English
  • 出版社:European Association of Software Science and Technology (EASST)
  • 摘要:While building a new language, we assign its semantics by mapping its syntax onto a semantic domain. To do so, we can either (i) do it operationally, by means of small-step morphisms within the same semantic-domain; or (ii) by means of a translation (syntax-to-syntax transformation), onto a target language that has already an operational semantics defined. Despite the fact that it is possible to build the set of syntactic correspondences from a given translation, it is still not clear how we can assert about the correctness of these syntactic correspondences in w.r.t. both the source and target language's underlying semantics.In this paper, we combine the above described techniques by analyzing the translation and establishing a semantic relation between the respective operational semantics, in order to assert the correctness of that translation. We demonstrate our approach with a concrete translation between two languages: State Machines and Petri Nets; and decide about its correctness by using their respective operational semantics as oracles. Finally, we discuss about the validity of our assertions in w.r.t. language translations in general.
国家哲学社会科学文献中心版权所有