Skip to content
This repository was archived by the owner on Oct 22, 2025. It is now read-only.
This repository was archived by the owner on Oct 22, 2025. It is now read-only.

Implement HVM-Style dup #1

@fogti

Description

@fogti

when implementing the superposition stuff can be avoided, imo it should, when it works, we can start to optimize perfomance..., maybe we get fast enough that the not-complete-lazyness of lambda building turns out to be not that much of a problem as expected. Also, I think lambda binders should be implemented via de-Bruijn-indices, which changes the lowering to the language of [1] (because the substitution stuff changes...)
[2] appears to have introduced the superposition stuff, but I'm not entirely sure if it is really necessary.

see also:
[0] https://github.com/Kindelia/HVM/blob/master/HOW.md
[1] https://github.com/zseri/gardswag/tree/main/docs/HVM-without-superposition
[2] https://cs.stackexchange.com/questions/96798/can-a-calculus-have-incremental-copying-and-closed-scopes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions