跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 软件工程

arXiv:2009.08769 (cs)
[提交于 2020年9月17日]

标题:Typestates to Automata and back: a tool

作者:André Trindade, João Mota, António Ravara
查看论文《Typestates to Automata and back: a tool》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Development of software is an iterative process. Graphical tools to represent the relevant entities and processes can be helpful. In particular, automata capture well the intended execution flow of applications, and are thus behind many formal approaches, namely behavioral types. Typestate-oriented programming allow us to model and validate the intended protocol of applications, not only providing a top-down approach to the development of software, but also coping well with compositional development. Moreover, it provides important static guarantees like protocol fidelity and some forms of progress. Mungo is a front-end tool for Java that associates a typestate describing the valid orders of method calls to each class, and statically checks that the code of all classes follows the prescribed order of method calls. To assist programming with Mungo, as typestates are textual descriptions that are terms of an elaborate grammar, we developed a tool that bidirectionally converts typestates into an adequate form of automata, providing on one direction a visualization of the underlying protocol specified by the typestate, and on the reverse direction a way to get a syntactically correct typestate from the more intuitive automata representation.
评论: In Proceedings ICE 2020, arXiv:2009.07628
主题: 软件工程 (cs.SE); 形式语言与自动机理论 (cs.FL)
引用方式: arXiv:2009.08769 [cs.SE]
  (或者 arXiv:2009.08769v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.2009.08769
期刊参考: EPTCS 324, 2020, pp. 25-42
相关 DOI: https://doi.org/10.4204/EPTCS.324.4

提交历史

来自:EPTCS
[v1] 2020年9月17日 星期四 00:47:49 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.SE
< 上一篇   |   下一篇 >
最新 | 近期 | 2020-09
切换浏览方式为:
cs
cs.FL

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站