core: begin work on parser utils