flatten_function_bodies: Flatten multiple function bodies into parent scope

Description Usage Arguments Value

Description

With more than one output, you run the risk of introducing namespace conflicts that were otherwise handled by compartmentalizing withing functions.

Usage

1

Arguments

code

a code block to flatten

...

outputs to flatten. only guarenteed to produce appropriate code for a single value, though it will work as intended for more than one output.

dots

optionally specify ellipses arguments as list

Value

code with last instance of outputs flattened into top level of syntax tree.


dgkf/scriptgloss documentation built on June 8, 2019, 8:43 p.m.