Start by using google:
parsing convertin the given source code into tokens[
^]
You will get a wealth of resources!
Comparing them will depend on what you do with the parsing, and display is pretty trivial!
There isn't anything new or particularly different here - but it's a detailed subject so the existing resources Google finds will be of more use than anything we could fit in a small textbox! :laugh:
Time to start reading...