export_code: Utilities for code export
Description
To facilitate other means of code export than implemented by the default
generate_code() plugin, this utility performs much of the heavy lifting
to properly arrange and scope block-level expressions.
Usage
export_code(expressions, board)
Value
String containing properly arranged block expressions.
Arguments
- expressions
Block expressions
- board
Board object