Skip to main content

wavecraft_plugin

Macro wavecraft_plugin 

Source
wavecraft_plugin!() { /* proc-macro */ }
Expand description

Procedural macro for generating complete plugin implementations.

This macro parses a simple DSL and generates all the boilerplate code for a working VST3/CLAP plugin.

§Syntax

wavecraft_plugin! {
    name: "My Plugin",
    vendor: "My Company",
    url: "https://example.com",  // optional
    email: "info@example.com",   // optional
    signal: Chain![
        MyGain { level: 0.0 },
    ],
}

§Phase 6 Status

This is a work-in-progress implementation. Current status:

  • Step 6.1: Basic input parsing (name, vendor, signal)
  • Step 6.2: Generate Plugin struct (partially done)
  • Step 6.3: Generate Params struct from processor chain
  • Step 6.4: Generate Plugin trait impl (partially done)
  • Step 6.5: Generate format impls & exports (done)
  • Step 6.6: Add error messages