What does it do?
When byte chunks are supplied in order, the parser emits events it can confirm and returns a state ready for the next input. It also supports processing the entire input at once and returns an error category and byte position on failure. A demo executable reads XML files and outputs events and the final result as JSON Lines. The documented, limited C call surface is available on x86_64 Linux with a fixed Lean runtime.
Key features
- Accept XML as byte chunks and return events and the next processing state
- Check a whole XML document at once and return error category and position
- Output results as JSON Lines from a demo executable
- Provide a C interface for the supported range of XML calls
- Include machine-checked results for UTF-8 decoder properties
Why did it stand out?
Even when input arrives in chunks, it emits only confirmed XML events and returns a state for continued processing. Its C integration specifies a narrow supported scope so developers considering replacing libexpat can see its boundaries.