pybison
pybison copied to clipboard
Current Project State
Dear @smvv,
I write to ask about the current status of the project.
Me and my team use your tool for one of our projects (hopefully soon getting published on github) and would like to add several small features to pybison, including:
- raw bison rules using action-code in c (for large files, this can be a real performance gain for the most used symbols, especially for string-collecting),
- a custom syntax-error-function to give more detailed information about the syntax error in the parsed text itself,
- possibly publishing it to the pip repository (do you see any limitations in doing so?)
Looking at the network graph it seems that @csarn has ported the project to python3 and started some work there. I would cleanup our commits and merge our changes with his projects state. Are these changes in comply with your project ideas?
Best regards, da-h
Hi @da-h, feel free to submit a PR. I'm not really involved in this project anymore though. Btw, the project is heavily based on #14.
Publishing to pip seems fine to me. How are you going to build and publish the linux/macOS/windows binaries that pybison depends upon?
Hi @smvv,
it took me some time since my request to make a more sustainable suggestion for this project:
The project pybison should remain sdist only since it needs a typical compiler toolchain to work with it anyway. I have published it to pypi with developers in mind that have read the README.md first. However, as any project or parser build with pybison should be also deployable to others, I am thinking about a pybison-light pip package. That version serves only the basic structure to open the dynamic libraries, the base classes, etc, but not much more.
I see pybison as a developer-only package. To deploy packages that depend on pybison, developers could then distribute their binaries together with the requirement of pybison-light.
Best, da-h
Sure, that makes sense. I think that pybison-runtime
would be a more suitable name since it will only contain the files necessary at runtime but pybison-light
is also possible indeed.