by willtim · 10y ago · 0 comments
Maybe that's pretty non-standard. I like thinking of shallow-deep as a continuum, though.
HOAS is a great example. There is the creation of an AST, but perhaps the most important and tricky part of any AST, the binding system, is left to the metalanguage. For that reason exactly I'm happy to say that HOAS is "shallower" than, say, a de Bruijn indexed binding system.