Expand description
A Rust application for parsing film information from raw text into a structured format.
This crate includes functionality to read, parse, and write film data such as title, director,
writer, genre, stars and description into a Film struct for easy access and manipulation.
Structs§
- Film
- Represents a film with structured data fields. Each field captures a different piece of film information, such as the title, release year, director, writer, genre, stars and description.
- Film
Parser - Grammar Rules
Enums§
- Film
Parser Error - Enum representing possible errors that can occur while using the film parser.
- Rule
- Film Grammar Rules
Functions§
- parse_
films - Parses a list of film data strings into
Filmstructs and writes results to files. - read_
lines - Reads lines from a specified file.
- write_
films_ to_ file - Writes parsed data to specified file with formated string.
- write_
films_ to_ file_ as_ structure_ without_ formating - Writes parsed data to specified file without formating.