Crate film_parser

Crate film_parser 

Source
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.
FilmParser
Grammar Rules

Enums§

FilmParserError
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 Film structs 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.