One thing I realized earlier that I want to be possible at some point: The JSON link parsing code and operations must be re-entrant and designed so a link can embed other links if it wants to. Here's one possibility that should allow:
I'm not saying the implementation will support this to start with, but I want to bear the use-case in mind so as not to preclude its addition in the future. This comment is here to remind me...
One thing I realized earlier that I want to be possible at some point: The JSON link parsing code and operations must be re-entrant and designed so a link can embed other links if it wants to. Here's one possibility that should allow:
record(ai, "current") { "(val+a/ b)/2", [{ca:"voltage CP"}, 10e3]
field(DTYP, "some-psu")
field(INP, "#C0 S0 @whatever")
field(SIML, "simulate")
field(SIOL, {calc:{
expr:
in:
}})
}
I'm not saying the implementation will support this to start with, but I want to bear the use-case in mind so as not to preclude its addition in the future. This comment is here to remind me...