C implementation of parser - In progress