This file is NOT a thorough test of all the features you should be implementing, but it's a start. This is text in the body; it should be left justified, not indented, not capitalized, spindled, folded or mutilated.
Here's a break,
which should format slightly differently
from a <P>aragraph
Although "official" html ignores unrecognized tags,
in ratml they can simply be printed: .
Ditto for recognized tags with "parameters," like
Don't forget that you're supposed to be ignoring ratml comments. And note that the preceeding sentence contains TWO comments, not one long one, which makes the lex pattern slightly tricky... Your lexer should eat comments; no reason to bother the parser.
Here's a list:
Final suggestions: although I do NOT intend to be picky about grading, it certainly will be simplified if "diff" reveals few or no differences between the output of your program versus mine on this test file. And speaking of grading, please be sure to include your name as a comment in your code, document any ways in which you deviated from the assigment (enhancements, etc.), and if these features aren't revealed on this test file, please include a short test file of your own.