def mk_field(field):
assert len(field) == <NUM_LIT:1><EOL>identifier, contents = next(iter(field.items()))<EOL>contents = dict(list({'<STR_LIT>': '<STR_LIT>', '<STR_LIT>': <NUM_LIT:0>}.items()) + list(contents.items()))<EOL>return sbp.resolve_type(sbp.Field(identifier=identifier,<EOL>type_id=contents.pop('<STR_LIT:type>'),<EOL>options=contents))<EOL>
Instantiates a field specification from a parsed "AST" of a
    field.

    Parameters
    ----------
    field : dict

    Returns
    ----------
    A Field or a specialization of a field, like a bitfield.