Skip to content

bernh/workout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EBNF of the grammar

parts = part, { "+", part };
part = repetition | step;
repetition = number, "*", "(", parts, ")"; 
step = time_step | distance_step;
distance_step = distance, effort;
time_step = time, ("min" | "s"), effort;

EBNF can be rendered with PlantUML

Implementation always normalizes to a 1 * (<input>) which is a bit of a hack since we basically start parsing with a repetition instead of parts.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published