By viz directory did you mean https://github.com/damelang/nile/tree/master/viz/NileViewer
And yeah, it'd interesting to build one. Is there enough info on it to build such compiler though? That NileVM.js is helpful. I've posted a list of resources in another comment below, but maybe I've missed a few