First pass at a GPML parser