Open gl-yziquel opened 5 months ago
If you could provide some sample code that would be able to parse two such blocks of axioms randomly placed on a "page", I'm pretty sure your code could fit the bill for what I intend.
Until then, reading your code is a bit rough.
Instructions to run the tests would also be nice.
Hi.
I've been looking at python-parse-2d as it seems to be one of the few tools designed to do 2D textual parsing.
I would have liked to tinker with it. Unfortunately, it is not packaged. It would be great if you would consider making it installable from source with
python -m build --wheel
followed bycd dist && pip install *.whl --force-reinstall
.My use case for 2D parsing would be:
Attempting to code a more readable version of the 1993
par
tool for paragraph formatting.A custom logic language which would best be understood using some kind of layout as follows:
This is a combinatorial structure with respect to free variables x, y, z, u, v, w and a relational symbol o separated by some inference line. As such, I'd be curious to know if python-parse-2d would support that kind of 2D layout parsing.
Making a package out of your code would save me some time and get me straight to tinkering.