The duck script parser.
parses the file and returns a vector of instructions
parses the provided script text and returns a vector of instructions