slcc: Initial implementation of the parse function