-
Notifications
You must be signed in to change notification settings - Fork 26
Normalisation by evaluation #145
Copy link
Copy link
Open
Description
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/
Reactions are currently unavailable