首页    期刊浏览 2025年06月03日 星期二
登录注册

文章基本信息

  • 标题:Implementation of a MIX Emulator: A Case Study of the Scala Programming Language Facilities
  • 本地全文:下载
  • 作者:Ruslan Batdalov ; Oksana Ņikiforova
  • 期刊名称:Applied Computer Systems
  • 印刷版ISSN:2255-8691
  • 出版年度:2017
  • 卷号:22
  • 期号:1
  • 页码:47-53
  • DOI:10.1515/acss-2017-0017
  • 语种:English
  • 出版社:Walter de Gruyter GmbH
  • 摘要:Implementation of an emulator of MIX, a mythical computer invented by Donald Knuth, is used as a case study of the features of the Scala programming language. The developed emulator provides rich opportunities for program debugging, such as tracking intermediate steps of program execution, an opportunity to run a program in the binary or the decimal mode of MIX, verification of correct synchronisation of input/output operations. Such Scala features as cross-compilation, family polymorphism and support for immutable data structures have proved to be useful for implementation of the emulator. The authors of the paper also propose some improvements to these features: flexible definition of family-polymorphic types, integration of family polymorphism with generics, establishing full equivalence between mutating operations on mutable data types and copy-and-modify operations on immutable data types. The emulator is free and open source software available at www.mix-emulator.org .
  • 关键词:MIX ; program correctness verification ; Scala
国家哲学社会科学文献中心版权所有