2503.20463

Total: 1

#1 An Encoding of Interaction Nets in OCaml [PDF] [Copy] [Kimi2] [REL]

Authors: Nikolaus Huber, Wang Yi

Interaction nets constitute a visual programming language grounded in graph transformation. Owing to their distinctive properties, they inherently facilitate parallelism in the rewriting step. This paper showcases a simple and concise approach to encoding interaction nets within the programming language OCaml, emphasising correctness guarantees. To achieve this objective, we encode not only the interaction net primitives, but also Lafont's original type system.

Subjects: Programming Languages , Software Engineering

Publish: 2025-03-26 11:50:39 UTC