计算机科学 > 程序设计语言
[提交于 2018年2月19日]
标题:Implementing distributed łambda-calculus interpreter
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:This paper describes how one can implement distributed {\lambda}-calculus interpreter from scratch. At first, we describe how to implement a monadic parser, than the Krivine Machine is introduced for the interpretation part and as for distribution, the actor model is used. In this work we are not providing general solution for parallelism, but we consider particular patterns, which always can be parallelized. As a result, the basic extensible implementation of call-by-name distributed machine is introduced and prototype is presented. We achieved computation speed improvement in some cases, but efficient distributed version is not achieved, problems are discussed in evaluation section. This work provides a foundation for further research, completing the implementation it is possible to add concurrency for non-determinism, improve the interpreter using call-by-need semantic or study optimal auto parallelization to generalize what could be done efficiently in parallel.
提交历史
来自:Alexandr Basov[v1] 2018年2月19日 星期一 09:46:39 UTC