Parser and define