IRC parser with Rust using Nom. Extracted from RBot to its own repo to allow reuse.
Use the parse_message function to parse an IRC protocol string.
pub fn parse_message(input: &str) -> Result<Message, ParserError>
Check out the tests for examples.
IRC parser with Rust using Nom. Extracted from RBot to its own repo to allow reuse.
Use the parse_message function to parse an IRC protocol string.
pub fn parse_message(input: &str) -> Result<Message, ParserError>
Check out the tests for examples.