There are cool projects out there that covers the basic principles of implementing dependent type theories as very spartan proof assistants. These projects helped a lot when I learned about (implementing, not using) proof assistants, because they introduce only the core mechanics, and so they are much easier to comprehend.
Are there similar projects out there featuring an extensional equality type? I would like to see some general principles when dealing with extensional equality types.