Add parser for function definitions and calls