julianandrews / sgf-parse

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

See about removing `unsafe` code in `parse` #13

Open julianandrews opened 3 years ago

julianandrews commented 3 years ago

parse uses some unsafe code to build the children before the parents while still maintaining references to the un-built parents. It may be possible to replace this with safe code.

In particular, I ran across the ghost-cell crate, which seems as if it might have promise here.