Skip to content

Normalisation by evaluation #145

@ollef

Description

@ollef

Andras Kovacs has written a nice overview of why normalisation by evaluation (NbE) is a good idea for performance over at the Dhall Discourse.

I'm very fond of having well-typed variable bindings, as we have when using the bound library, and not e.g. De Brujin indices/levels as integers, but maybe we can figure out a way to achieve that with NbE as well?

If we later implement "gluing" as well, as in smalltt, it seems like we can get mad performance! The important point there seems to be to not let meta variable solutions grow arbitrarily big.

Another education implementation is here: https://github.com/jozefg/nbe-for-mltt/

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions