pub fn parse_program(source: &str) -> Result<Library, ParserDiagnostic>
Parse a full IEC 61131 program.