Implementation of a Parser in C