18924adac4
Merge pull request 'Use comptime for fully declarative LV2 and Custom commands' (#14) from declarative-commands into master
6d8614e678
revert cloned runner using parsed cmd list
af0ea574e1
remove default value for Runner.repl field
1b59705eae
cloned runners inherit repl flag from parent
a2ea8fb53e
make args live through lifetime of runner
Use comptime for fully declarative LV2 and Custom commands
6d8614e678
revert cloned runner using parsed cmd list
af0ea574e1
remove default value for Runner.repl field
1b59705eae
cloned runners inherit repl flag from parent
a2ea8fb53e
make args live through lifetime of runner
542ba75b01
make repl cloned runner run the runqs cmd
c7eb70a06f
ignore lines without commands
0240b10a3c
close handles while making temporary paths
d6c92c0231
add split and index when printing custom/lv2 cmds
5235482ab4
print float parameters with decimal notation
ee7ffd1be7
move repl commands to the heap
0453f37305
add noop, runqs support to runner
7f008db540
part 2 of printing commands
b06bab9ec5
remove unecessary compileError call
f973d6807d
add basics of printing under new command structure
128f58c502
re-enable repl
e71eba583e
make load command own its path memory
9cb82e3180
remove unecessary code
b00ab8e839
remove the big switch when printing commands
0b816a512e
lang: remove unused declarations
b0525f2386
add proper support on rotateCmd for lang.Command.Rotate
54919110a5
refactor: remove 'new' prefix from functions
76b353e593
remove code for old runner commands
Use comptime for fully declarative LV2 and Custom commands
36937a5fde
remove ParamMap creation from runner
72379e63ee
add support for more types on lv2 parameter structs
690ab89cfd
allow any typed command to use lv2 param parse logic
30da41293a
fix type defs for noise cmds
89afa8af10
convert from ParamMap to ducktyped param struct
83996b889f
make rotate not be a typed command
10b2c69605
fix typos
303a40758d
make custom plugins always receive ParamMap
1c1e525b1d
add support for plugin command types
1fac8c7312
fix putting KV on a string
e669b74ffb
add CustomCommand function
ca751e58f7
add draft declarations for custom commands
82dc99d7d5
remove unecessary switch
d9358ed794
add lv2 parameter validation
8ce844ceed
add validation for split/index args
make lv2 commands fully declarative
I started working on this yesterday and I got good results. 99% of the LV2 commands work flawlessly.
There's also some un-needed repetition around things as Zig's comptime isn't perfect, and so the type system can't detect some things as comptime. That's fine. Better than before.
TODO:
dyncomp
doesn't work becauseratio
isn't found in the plugin, what happened?- Custom commands.
7543ecafaa
remove unused blocks of code
325e7b1102
add support for the rest of lv2 commands
0de2d05fa3
fix detune command definition
3a7009f9bf
convert more commands to new form