#Alonzo news: I'm now drafting code to typecheck that "references" (what I have in place of vars) make sense!
It proved quite straightforward to ensure references don't cross different branches. And performing closest-common-ancestor checks to minimize how much code I'm verifying in one go is also fairly easy.
The code I've got left to draft is extending my previous typechecking code to handle refs. I believe the next day I'll have time for it is Sunday...