Skip to main content

Crate task_list_parser

Crate task_list_parser 

Source

Structs§

TaskListGrammar
TaskListGrammar is a parser for task lists using a custom grammar defined in grammar.pest. It supports parsing tasks with fields: priority, status, date, and description.

Enums§

Rule
TaskParseError
TaskParseError is an enumeration of possible errors that may occur during task parsing.

Functions§

parse_priority
Parses the priority from a string and returns the priority level (1 to 3).
parse_year
Parses a year from a string and returns it as u32.