A couple of notes: I'm choosing to ignore extra blank lines after a comment. Is the objective to have a parser that can give the exact same output as the input, or just semantically the same?
Also, what are the next steps to add support for comments in the parser?
I pulled the examples from the RST specification.
A couple of notes: I'm choosing to ignore extra blank lines after a comment. Is the objective to have a parser that can give the exact same output as the input, or just semantically the same?
Also, what are the next steps to add support for comments in the parser?