# Blockly Parser Deserialize XML generated by the [Google Blockly](https://developers.google.com/blockly/) UI into data structures. ## Example usage: ```rust extern crate blockly_parser; use blockly_parser::{ Program, StatementBody, Block, FieldValue, program_from_xml, }; fn main() { let xml: &str = r#" 3 300 100 100 100 "#; let program: Program = program_from_xml(xml); let main_group: StatementBody = program.groups.get(0).unwrap(); let main_loop_block: Block = main_group.blocks.get(0).unwrap(); } ``` See the unit tests for more details.