Fully working parser & comparator