Crate workout_note_parser

Source
Expand description

This module contains the implementation of a parser for workout data.

The parser is implemented using the pest parser generator and is used to parse workout data in a custom format. The parsed data is then used to generate workout plans and track progress.

Modules§

error

Structs§

Exercise
A struct representing an exercise, actually, a single set
Set
Represents a set in weightlifting, consisting of a weight and the number of repetitions performed.

Enums§

Rule

Functions§

get_exercise_from_pairs
Parses an exercise from a Pair and returns a vector of Exercises.
parse_set
Parses a set of exercises from a Pair object.
parse_workout
Parses a workout input string and returns a vector of exercises.