1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
//! This crate provides a parser for [Retrosheet event files]. //! //! Retrosheet event files describe play-by-play information and other metadata for a series of MLB //! games, usually for all games at home by a certain team. //! //! The parser provided takes *entire* event files and returns game objects describing the games. //! The files must be entire in the sense that no game data can be incomplete. //! //! [Retrosheet event files]: http://www.retrosheet.org/eventfile.htm #![deny(missing_docs)] #[macro_use] extern crate nom; mod game; pub mod event; mod parser; mod parsers; pub use self::game::{Game, GameError}; pub use self::parser::{Error as ParserError, Parser};