Hello! Is it possible to link a function from the Analytics library to a Delphi application function?

For example, the program contains a function:

function Solve(S: string): Double;

Can I somehow "register" or link it to TTranslator? To further evaluate the expression:

"2 * sin(Pi) + Solve('diameter')"

In other words, is it possible in TTranslator to use a function with string parameters to organize access to the script?