SGF Parser
A SGF Parser for Rust. Supports all SGF properties, and tree branching.
Using pest
for the actual parsing part.
Example usage
use *;
let sgf_source = "(;EV[event]PB[black]PW[white]C[comment];B[aa])";
let tree: = parse;
let tree = tree.unwrap;
let unknown_nodes = tree.get_unknown_nodes;
assert_eq!;
let invalid_nodes = tree.get_invalid_nodes;
assert_eq!;
tree.iter.for_each;
let sgf_string: String = tree.into;
assert_eq!;