A troll code formatter for C, C++ and Java to make your compsci teacher angry.
Trollformatter: Troll your fellow devs and compsci teachers
Ever wanted to troll someone by formatting your C/C++/Java code like this?
Well now you can.
What is this?
Trollformatter is a formatter inspired by the image above. It basically moves all your semicolons, braces, etc. to the edge of the file to make it appear to not have semicolons or braces. The generated code looks much cleaner (/s), and still runs the same as the original file.
DISCLAIMER: DO NOT USE THIS IN ANY KIND OF PRODUCTION ENVIRONMENT. THE TROLLFORMATTER PROGRAM IS IN ALPHA AND IS NOT GUARANTEED TO WORK PROPERLY AT ALL TIMES. THE DEVELOPERS OF THIS PROGRAM ARE NOT RESPONSIBLE IF YOU LOSE YOUR JOB OR GET A FAILING GRADE BECAUSE YOU USED THIS.
How do I run Trollformatter?
- Get Python.
python3 setup.py install. (you may need
- Get your code.
- Check the
file_troll.javafile. If you are satisfied with the result, you may remove the original and rename this one.
- Watch your compsci teacher explode.
Sounds interesting. How can I contribute?
If you want to help out the trollformatter project, check out the issues board on Gitlab (or test the program and log undiscovered issues). You can assign an issue to yourself, fork the project, and send in a merge request when you're ready to merge your code.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size trollformatter-1.0.1.tar.gz (3.4 kB)||File type Source||Python version None||Upload date||Hashes View hashes|