ballercat / walt

:zap: Walt is a JavaScript-like syntax for WebAssembly text format :zap:
https://ballercat.github.io/walt/
MIT License
4.64k stars 122 forks source link

Document ast node types #144

Open ballercat opened 5 years ago

ballercat commented 5 years ago

Why

Need a cononical source for what nodes are accepted by the generator as well as what node shapes are generated by the core parser. The compiler is extendable but without node shapes it's more difficult to understand what is going on.

What

Document node shapes or add flow types and coument those.