Feature request: Formatter/Linter
It would be nice to have a linter tool integrated into the blueprint-compiler tool, so that you can check the syntax of your blp files is good. It would check for things like indentations, where to put newlines, and duplicate spaces. This would make writing structured, legible blp files easier.
The syntax could be similar to Python formatters like black, i.e.: blueprintcompiler.py format
for writing the formatted version to the files, and blueprintcompiler.py format --check
for just printing the outputted version. This could also be useful in a project's CI, for example.
One way to do the formatting would be to compile the blp files to XML, then translate that XML to Blueprint again, both using the existing compiler/decompiler code. Not sure if this would be the best way to do it, though.