tryNew

Try to parse a FTL source string into a FluentResource.

Return

Result containing the FluentResource on success, or failure with parse error

Parameters

source

The FTL source text