Crate sl_chat_log_parser

Crate sl_chat_log_parser 

Source
Expand description

§sl-chat-log-parser

Parser for SL viewer chat logs (Firestorm in particular but might work for others too)

Tries to parse every possible line into something useful, the naming of the enum variants might still need some work to get into a more unified style but the hard part is done and it parses my own 15+ years of chat logs.

It is highly recommended to use release builds to parse large amounts of logs, there is a significant performance difference between debug and release builds.

Some performance optimization by reordering the parsers could probably be done but I haven’t done so yet.

Modules§

avatar_messages
Avatar related messages (those sent by an avatar as well as some system messages about an avatar like coming online or entering chat range)
system_messages
Types and parsers for system messages in the chat log
utils
Parsing utilities and general parsers

Structs§

ChatLogLine
represents a Second Life chat log line

Enums§

ChatLogEvent
represents an event commemorated in the Second Life chat log

Functions§

avatar_name_parser
parse a second life avatar name as it appears in the chat log before a message
chat_log_line_parser
parse a Second Life chat log line