# Assignment parser example

`mbsdk_parsec_parse` accepts up to 1 MiB of UTF-8 text in the form `name = "value"`. Names use ASCII identifiers. Values may be empty and may contain Unicode text. Quotes and newlines delimit the value, and backslashes are literal.

On success, `mbsdk_parsec_value` copies the name and value into independently owned UTF-8 spans. Release each span with `mbsdk_parsec_free_text`. On a syntax error, `mbsdk_parsec_error` returns a zero-based Unicode scalar offset and one-based line and column. Release the result handle with `mbsdk_parsec_free_result` in either case. The text spans may outlive the result. Invalid UTF-8 returns its own status with an empty handle.

The C and .NET hosts exercise both kinds of handle, malformed UTF-8, and empty input.
