Make tuple hints in script properties more descriptive
Opened this issue · 0 comments
marceltaeumel commented
Each script can keep track of the expected tuple format of its input artifacts:
[ ... ] -> { #inputKind -> #(nil nil) } "tuple size is 2 like in #( (a 1) (b 2) (c 3) )"
At the moment, this is captured in #inputKind
, which used to be only for type/class filters when browsing appropriate scripts. Conceptually, however, it is very important to speak of tuples and the size of tuples in the script. It is even more important than having type information at all. Hence, we should add #tupleSize
as a script property.
Take a look at #77 and the following methods (if still existing):
ViScriptPart >> #inputCount.
ViScriptPart >> #baseClass.
ViScriptPart >> #normalizedKind:.
ViScriptEditor >> #setInputKind:tupleIndex:.
ViScriptEditor >> #inputKind. "!!!"