convenience method for direct string input into parser
Convenience method added to allow string as direct input for the parser
Proper type resolution added; Widening has no longer an effect on type variables