cargo-specification
cargo-specification copied to clipboard
use a comment parser library
The code might be much easier if we just extract all the comments with something like https://docs.rs/comment-parser/latest/comment_parser/ so we can support many languages
One problem is with instructions like spec:startcode, but we might be able to get which lines in the file are after and before these?