It would be very nice if user could create python functions using scripts API and expose them to be used as parameters with input.
For example, suppose there are two user defined parameters,
Parameter1 = "100mm"
Parameter2 = "custom_function(Parameter1)"
custom_function would be run every time Parameter2 expression needs to be evaluated. This would open up quite a lot of possibilities which are out of reach at the moment.