English

Conditional Nested Pattern Matching in Interaction Net

Programming Languages 2024-10-02 v1

Abstract

Interaction nets are a form of restricted graph rewrite system that can serve as a graphical or textual programming language. As such, benefits include one-step confluence, ease of parallelism and explicit garbage collection. However, some of these restrictions burden the programmer, so they have been extended in several ways, notably to include data types and conditional rules. This paper introduces a further extension to allow nested pattern matching and to do so in a way that preserves these benefits and fundamental properties of interaction nets. We also show that by introducing a translation to non-nested matching, this extension is conservative in rewriting. In addition, we propose a new notation to express this pattern matching.

Keywords

Cite

@article{arxiv.2410.00540,
  title  = {Conditional Nested Pattern Matching in Interaction Net},
  author = {Shinya Sato},
  journal= {arXiv preprint arXiv:2410.00540},
  year   = {2024}
}

Comments

In Proceedings DCM 2023, arXiv:2409.19298