@@ -7,3 +7,4 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
+python-parser = "0.1"
@@ -1,3 +1,12 @@
+use python_parser::ast::*;
+use std::fs;
+
fn main() {
- println!("Hello, world!");
+ let source = fs::read_to_string("guessit/guessit/rules/properties/episodes.py")
+ .unwrap();
+ let ast = python_parser::file_input(python_parser::make_strspan(&source));
+ println!("{:#?}", ast);
}