core: support for expressions/variables in function parameters