flutmax-codegen
Code generator: analyzed graph -> .maxpat JSON.
Part of the flutmax workspace.
Overview
Transforms the analyzed AST into a PatchGraph and serializes it as a .maxpat JSON file compatible with Max/MSP. Uses a Sugiyama-style layered layout algorithm for automatic object placement.
Usage
let ast = parse.unwrap;
let graph = build_graph.unwrap;
let maxpat_json = generate.unwrap;
License
MIT