Parser for the hackfile format