首页> 外文期刊>ACM Transactions on Programming Languages and Systems >A Machine-Checked Model for a Java-Like Language, Virtual Machine, and Compiler
【24h】

A Machine-Checked Model for a Java-Like Language, Virtual Machine, and Compiler

机译:机器检查的Java类语言,虚拟机和编译器模型

获取原文
           

摘要

We introduce Jinja, a Java-like programming language with a formal semantics designed to exhibit core features of the Java language architecture. Jinja is a compromise between the realism of the language and the tractability and clarity of its formal semantics. The following aspects are formalised: a big and a small step operational semantics for Jinja and a proof of their equivalence, a type system and a definite initialisation analysis, a type safety proof of the small step semantics, a virtual machine (JVM), its operational semantics and its type system, a type safety proof for the JVM; a bytecode verifier, that is, a data flow analyser for the JVM, a correctness proof of the bytecode verifier with respect to the type system, and a compiler and a proof that it preserves semantics and well-typedness. The emphasis of this work is not on particular language features but on providing a unified model of the source language, the virtual machine, and the compiler. The whole development has been carried out in the theorem prover Isabelle/HOL.
机译:我们介绍Jinja,这是一种类似于Java的编程语言,具有正式的语义,旨在展现Java语言体系结构的核心功能。 Jinja是语言的真实性与其形式语义的可处理性和清晰度之间的折衷。规范了以下几个方面:Jinja的大小步操作语义及其等效性证明,类型系统和确定的初始化分析,小步语义的类型安全证明,虚拟机(JVM),操作语义及其类型系统,JVM的类型安全证明;字节码验证程序,即JVM的数据流分析器,字节码验证程序相对于类型系统的正确性证明,以及编译器及其保留语义和正确键入的证明。这项工作的重点不是特定的语言功能,而是提供源语言,虚拟机和编译器的统一模型。整个发展已在定理证明者Isabelle / HOL中进行。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号