Module destructuring

Source
Expand description

The destructuring pass traverses the AST and destructures tuples into individual variables. This pass assumes that tuples have a depth of 1, which is ensured by the type checking pass.

Modulesยง

ast ๐Ÿ”’
program ๐Ÿ”’
visitor ๐Ÿ”’

Structsยง

Destructuring
A pass to rewrite tuple creation and accesses into other code.