I've worked on several compiler projects before and I find them quite fun. I would like to spend some time on this to make sure it gets done well, but we can discuss that if you have tight limitations on time, since I don't see anything which I expect to cause problems or delays. I expect that you are looking for a recursive descent parser, which is my favorite way to make a parser.