I have tried using Python for more serious work, but has been thrown off by its forced whitespace indentation. In Emacs I want to press TAB and get to the correct indentation level – no matter the code, so I have several times tried looking for a way to add braces to Python.
I would prefer if my preference for braces did not affect people who do not like braces, so I would like a conversion between the two systems. It could be an Emacs package, that fixed the braces after loading/before saving, so the saved file always contained whitespace, but the loaded file would be with braces.
I have now found a few projects that try to implement braces.
https://github.com/thatch/pybraces – tested 2017-06-29
- demo0.py fails.
http://python-with-braces.appspot.com/ – tested 2017-06-29
- failed to compile.
https://github.com/mathialo/bython – tested 2017-06-29
- Simple programs work.
- Shebang works.
- Compiling to no-braces (-c).
- Mixing with indented code fails.
- No way of converting no-braces => braces.
- No man page.