Overview of nom technical features
mainnom is a high-performance parser combinators library with the following characteristics:
- Byte-oriented: Works primarily on
&[u8]slices. - Bit-oriented: Can address byte slices as bit streams.
- String-oriented: Supports UTF-8 strings.
- Zero-copy: Returns slices of the input instead of copying data.
- Streaming: Handles partial data and detects when more input is required.
- Descriptive/Custom Errors: Supports aggregating error codes and custom error types.
- Safe and Fast: Leverages Rust's memory safety and is optimized for speed, often outperforming handwritten C parsers.