I was looking for an observable implementation similar to Verilog AMS or SystemVerilog.
There you would have constructs like
always @(sig1 && posedge(sig2)) // when sig1 (analog) changes AND sig2 (digital) does trans 0->1 a = funCB(b,c); // callback function end
Compared to known implementations in Julia (React.jl or Observable.jl), there is a richer functionality: besides change, you can trigger on direction of change, and you can have shortcuts using observables.
I see two possibilities: implement from scratch or extend those above with some syntactic sugar using macros.
With the latter I have even less experience.