Expand description
Preprocessing utilities for multiline statement merging
Functions§
- preprocess_
multiline_ arrow_ calls - Preprocess source to merge multiline arrow calls Example: target -> method1(arg) -> method2(arg) becomes: target -> method1(arg) -> method2(arg)
- preprocess_
multiline_ braces - Preprocess source to merge ALL multiline statements with braces Handles: synth, bind, pattern, let with map/array, emit, etc. Example: bind myMidi -> myBassline { velocity: 80, bpm: 150 } becomes: bind myMidi -> myBassline { velocity: 80, bpm: 150 }
- preprocess_
multiline_ brackets - Preprocess source to merge multiline statements with brackets Handles: timeline, etc. Example: timeline [ section1 during 4 bars, section2 during 8 bars ] becomes: timeline [section1 during 4 bars, section2 during 8 bars]