julianandrews / sgf-parse

SGF parsing library for Rust.
MIT License
13 stars 3 forks source link

Normalize SZ output #3

Open julianandrews opened 3 years ago

julianandrews commented 3 years ago

Right now we always output the full value - e.g: SZ[19:19]. Instead, for repeated values it could be SZ[19].

Possibly this could be an option to serialize, or there could be a serialize_with_options function that takes a SerializationOptions struct.