Shunting

The shunting block is the real entry point to any given program implemented as a triple script. In the triple script concatenated t-block format, the shunting block is the one that appears in the tail position (i.e. the last one). In a triple script, the shunting block is the only block allowed to have zero exports, because its main role is to initialize the system layers and pass control to the real "heart" of the program (which should be the first block, i.e. the one appearing at the beginning of the file).

By convention, the shunting block is called "main". It is written as a top-level IIFE, and it is the only top-level IIFE that is permitted to do any substantial computation. All other blocks are strictly module definitions, and their use of top-level IIFEs is as a compatibility hack for supporting older runtimes with no intrinsic support for the  keyword. These incidental IIFEs are permitted only to make use of simple assignments within the IIFE scope for defining the shape of the class through method definitions and other property definitions.