I got bored of converting Python to Pseudocode, so I made this.
- This program can and will make mistakes, it is not meant to be a complete substitute for writing your pseudocode, but to make the process easier.
- docker.txt and out.txt are tests
- Unfortunately, doesn't yet add NEXT or ENDIF
How to use.
-
Put your python code in docker.txt(Remember this only works for increments, print statements, for loops, if statements(AKA conditionals), while loops and initialising variables at the moment.)
-
Next, luckily for you, we've made a CLI to make this process easier. Simply run
cli.py --help
to see a help message or to run, typecli.py --run [FILE]
, where [FILE] is your file(incase you wanted to migrate from make.py), and if those two commands don't work, simply runpython [FILE].py
and everything should work perfectly. Also, in case you were wondering, I used argparse to build that. Anyways, signing off on the project for now. Abhishek - 20/10/2020.
- Your python code has to run perfectly, otherwise the program will start glitching.