cargo-specification icon indicating copy to clipboard operation
cargo-specification copied to clipboard

use a comment parser library

Open mimoo opened this issue 3 years ago • 0 comments

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?

mimoo avatar May 03 '22 06:05 mimoo