flutmax
Transpiler between .flutmax text and Max/MSP .maxpat patches.
Part of the flutmax workspace.
Overview
Unified facade crate that re-exports the entire flutmax compiler pipeline. Provides high-level compile(), decompile(), and parse_to_json() functions for common workflows.
Usage
// Compile .flutmax source to .maxpat JSON
let maxpat = compile.unwrap;
// Decompile .maxpat JSON back to .flutmax source
let source = decompile.unwrap;
// Parse to AST and return as JSON (useful for bindings)
let ast_json = parse_to_json.unwrap;
Sub-crate access
For advanced usage, sub-crates are re-exported:
use ast;
use parser;
use sema;
use codegen;
use objdb;
use decompile;
License
MIT