firo-parser 0.1.0

Parser for the ".firo" file format.
Documentation
1
2
3
4
5
path_part        = { (!("<" | ">" | "\n" | "\r") ~ ANY)+ }
pin              = { "<" ~ (ASCII_ALPHANUMERIC+ | "!!" | "!") ~ ">" }
path             = { (" " | "\t")* ~ (path_part | pin)+ }
destination_file = { SOI ~ (path ~ NEWLINE*)* ~ EOI }
origin_file      = { SOI ~ (path_part ~ NEWLINE*)* ~ EOI }