Package parser is a parser for Efs2files. With this parser, you can read an Efs2file and convert the instructions within it into tasks. This parser is also able to read from standard in.
tasks, err := Parser("/path/to/Efs2file")
if err != nil {
// do stuff
}
Parse will read the file provided and parse it for Efs2 instructions. If a line within the file does not match the Efs2 pre-defined patterns, the whole file parsing will return an error. If "-" is provided as the filename, the Parser will read input from Standard In.