def parse_compound(compound_def, context=None):
compound_id = compound_def.get('<STR_LIT:id>')<EOL>_check_id(compound_id, '<STR_LIT>')<EOL>mark = FileMark(context, None, None)<EOL>return CompoundEntry(compound_def, mark)<EOL>
Parse a structured compound definition as obtained from a YAML file

    Returns a CompoundEntry.