tcc: import initial draft of function that converts a symbol to a function