0: definition parser implementation