...
首页> 外文期刊>Applied Computer Systems >Implementation of a MIX Emulator: A Case Study of the Scala Programming Language Facilities
【24h】

Implementation of a MIX Emulator: A Case Study of the Scala Programming Language Facilities

机译:MIX仿真器的实现:以Scala编程语言工具为例

获取原文
   

获取外文期刊封面封底 >>

       

摘要

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.
机译:由Donald Knuth发明的神话计算机MIX的仿真器的实现被用作Scala编程语言功能的案例研究。开发的仿真器为程序调试提供了丰富的机会,例如跟踪程序执行的中间步骤,以MIX的二进制或十进制模式运行程序的机会,验证输入/输出操作正确同步的机会。事实证明,诸如交叉编译,家族多态性和对不可变数据结构的支持之类的Scala功能对于仿真器的实现很有用。本文的作者还提出了对这些功能的一些改进:灵活定义家族多态类型,将家族多态与泛型集成,在可变数据类型的变异操作与不变数据类型的复制和修改操作之间建立完全等效。该仿真器是免费的开放源代码软件,可从www.mix-emulator.org获得。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号