Conversation

Pondering the possibility of using Prolog for bootstrapping a type theory + programming language implementation… …though I'll probably reconsider once I start hitting all the type and mode errors. 😅
2
8
Do you think there could be a point in terms of the constraint solving if the type inference were done that way?
1
Replying to and
I dunno, even using Prolog I think I'd want to implement the algorithm myself, so maybe not? Maybe you could reuse the infrastructure they have for “Attributed variables” for implementing unification:
Quote Tweet
Wondering if I should use a DCG for threading through the state of my unification solutions in my elaborator, or should I use these nifty “Attributed variables”: swi-prolog.org/pldoc/man?sect
Show this thread
Show replies