hvm is an intermediate representation language created in 2022 by Victor Taelin.
#3283on PLDB | 2Years Old |
HVM is a low-level compile target for high-level languages. It provides a raw syntax for wiring interaction nets.
@main = a
& @sum ~ (28 (0 a))
@sum = (?(((a a) @sum__C0) b) b)
@sum__C0 = ({c a} ({$([*2] $([+1] d)) $([*2] $([+0] b))} f))
&! @sum ~ (a (b $([+] $(e f))))
&! @sum ~ (c (d e))