Skip to content

Add support for the "struct" module #331

@pschanely

Description

@pschanely

CrossHair has support for some amount of binary (de)serialization, via e.g. int.to_bytes()/int.from_bytes(), but pretty much anything going through the struct module capabilities will trigger a realization. Let's preserve symbolics there, at least in the feasible cases.

In practice, this task is mostly just re-implementing the struct module in python itself (rather than C, which is how it's implemented in CPython).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions