Skip to content

Use kaitaiStructCompile.py to transpile the parser into python source in process of building a wheel #2

@KOLANICH

Description

@KOLANICH

https://gitlab.com/kaitaiStructCompile.py/kaitaiStructCompile.py

In fact

  • that stuff is alpha quality and I improve and refactor it quite often;
  • some parts, like postprocessors will be heavily refactored in future;
  • it has some security (not a very severe ones) and performance issues (there is a backend in which they have been resolved, but there is a legal issue in it called GNU GPL v3 because it calls directly into KSC)
  • kaitaiStructCompile.setuptools has an issue that it is executed when setup is called, not when actual building is done. It is mainly a setuptools issue: setuptools doesn't have all the needed facilities to insert a stage;

..., but I still use it in all my project using Kaitai-generated parsers.

Feel free to fork and contribute.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions