Currently, trying to parse script code manually to for instance parse metadata requires you to manually parse strings including the various forms (single quotes, double quotes, heredoc) which duplicates engine logic.
It would be helpful if we could simply call an engine function to parse it instead. Provide an input buffer to store the result (or null to query the buffer size required) and return the result with all syntax resolved, including escape sequences.
This function could look like this:
size_t ParseScriptString(char* buffer, size_t bufferSize, const char* string, size_t stringLength = 0) const;