codingpractice
Test the edges of a parser's grammar
Anonymous
Cover empty input, one valid token, missing separators, extra tokens, and invalid nesting. When a serializer exists, a round-trip test can help too: parse(serialize(x)) should preserve x for supported values.
0