September 2018
Intermediate to advanced
328 pages
9h 10m
English
Although detailed coverage of the Text Format section of the Core Specification is out of the scope of this text, it's worth demonstrating how some of the language concepts map to the corresponding Wat. The following diagram demonstrates these mappings in a sample Wat snippet. The C code that this was compiled from represents a function that takes a word as a parameter and returns the square root of the character count:

If you intend on writing or editing Wat, note that it supports block and line comments. The instructions are split up into blocks and consist of setting ...
Read now
Unlock full access