Implementing distributed λ-calculus interpreter

02/19/2018
by   Alexandr Basov, et al.
0

This paper describes how one can implement distributed λ-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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/22/2023

Special Delivery: Programming with Mailbox Types (Extended Version)

The asynchronous and unidirectional communication model supported by mai...
research
07/30/2019

Quantale semantics of Lambek calculus with subexponential modalities

In this paper, we consider the polymodal version of Lambek calculus with...
research
08/01/2018

Explicit Auditing

The Calculus of Audited Units (CAU) is a typed lambda calculus resulting...
research
04/14/2022

Decidability of Intuitionistic Sentential Logic with Identity via Sequent Calculus

The aim of our paper is twofold: firstly we present a sequent calculus f...
research
03/12/2018

A Location-based Approach for Distributed Kiosk Design

Electronic kiosk interface design and implementation metrics have been w...
research
03/27/2013

An Uncertainty Management Calculus for Ordering Searches in Distributed Dynamic Databases

MINDS is a distributed system of cooperating query engines that customiz...
research
03/15/2021

Increased Complexity and Fitness of Artificial Cells that Reproduce Using Spatially Distributed Asynchronous Parallel Processes

Replication time is among the most important components of a bacterial c...

Please sign up or login with your details

Forgot password? Click here to reset