renamed scanner and parser interfaces