Inital code for notation parser.