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

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

计算机科学 > 程序设计语言

arXiv:2209.09471 (cs)
[提交于 2022年9月20日]

标题:A Tool for Describing and Checking Natural Semantics Definitions of Programming Languages

作者:Georgian-Vlad Saioc, Hans Hüttel
查看论文《A Tool for Describing and Checking Natural Semantics Definitions of Programming Languages》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Many universities have courses and projects revolving around compiler or interpreter implementation as part of their degree programmes in computer science. In such teaching activities, tool support can be highly beneficial. While there are already several tools for assisting with development of the front end of compilers, tool support tapers off towards the back end, or requires more background experience than is expected of undergraduate students. Structural operational semantics is a useful and mathematically simple formalism for specifying the behaviour of programs and a specification lends itself well to implementation; in particular big-step or natural semantics is often a useful and simple approach. However, many students struggle with learning the notation and often come up with ill-defined and meaningless attempts at defining a structural operational semantics. A survey shows that students working on programming language projects feel that tool support is lacking and would be useful. Many of these problems encountered when developing a semantic definition are similar to problems encountered in programming, in particular ones that are essentially the result of type errors. We present a pedagogical metalanguage based on natural semantics, and its implementation, as an attempt to marry two notions: a syntax similar to textbook notation for natural semantics on the one hand, and automatic verification of some correctness properties on the other by means of a strong type discipline. The metalanguage and the tool provide the facilities for writing and executing specifications as a form of programming. The user can check that the specification is not meaningless as well as execute programs, if the specification makes sense.
评论: In Proceedings FROM 2022, arXiv:2209.09208
主题: 程序设计语言 (cs.PL)
引用方式: arXiv:2209.09471 [cs.PL]
  (或者 arXiv:2209.09471v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.2209.09471
期刊参考: EPTCS 369, 2022, pp. 51-66
相关 DOI: https://doi.org/10.4204/EPTCS.369.4

提交历史

来自:EPTCS
[v1] 2022年9月20日 星期二 05:08:30 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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