frame-sequence 0.2.2

Turns frame sequence strings into lists of frame numbers.
Documentation
1
2
3
4
5
6
7
8
PositiveNumber = { ASCII_DIGIT+ }
Frame = { ("+" | "-")? ~ PositiveNumber }
StepSymbol = { "@" | "x" }
BinarySequenceSymbol = { "b" }
FrameRange = { Frame ~ "-" ~ Frame ~ ( StepSymbol ~ ( PositiveNumber | BinarySequenceSymbol ) )? }
FrameSequencePart = { FrameRange | Frame }
FrameSequence = { FrameSequencePart ~ ( "," ~ FrameSequencePart )* }
FrameSequenceString = {SOI ~ FrameSequence ~ EOI}