String to Duck type parser