C / C++
The C ABI hub. A single wickra_synth.h header + prebuilt library links from C, C++, or any C-capable language. Drive a synth with the JSON command protocol.
bash
# prebuilt wickra_synth.h + library per platform:
# github.com/wickra-lib/wickra-synth/releasesc
#include "wickra_synth.h"
const char *spec = "{\"seed\":42,\"bars\":20,\"start_price\":100.0,"
"\"regimes\":[{\"kind\":\"trend\",\"len\":20,\"drift\":0.002,\"vol\":0.01}],"
"\"microstructure\":{\"book_depth\":5,\"spread_bps\":4.0,\"trade_rate\":8.0}}";
WickraSynth *s = wickra_synth_new(spec);
char *out = wickra_synth_command(s, "{\"cmd\":\"generate\"}"); /* JSON response */
printf("%s\n", out);
wickra_synth_free(s);The header is generated by cbindgen and is the same ABI the C#, Go, Java and R bindings link against.