The Art of WebAssembly
There are two primary styles of WAT coding to choose from. One style is the linear instruction style list. The other coding style is called S-Expressions. Unserstanding WAT: MDN Docs Stack Machines For example, local.get is defined to push the value of the local it read onto the stack, and i32.add pops two i32 values (it implicitly grabs the previous two values pushed onto the stack), computes their sum and pushes the resulting i32 value When a function is called,…