BrainF#ckery Devlog #3! 
What’s Changed?
Well… I added command line arguments!!!
Gone are the days of manually typing your BF code into the terminal, now you can specify and input and output file, as well as pass flags!
I also published to PyPi!!! Find it Here!
On top of all that, I also made a bunch of small changes and modifications to fix bugs and make my compiler work better.
Command Line Args!
Here’s the current full list:
-
-h, or--Help-> Your basic help command, don’t need to say much here -
-v, or--Verbose-> Enables verbose (extra) logging -
-ior--Input-> Takes a file path as an input file (a.bffile) -
-oor--Output-> Takes a file path to be the outputted executable (a.exefile)| -
-ror--Run-> Runs the newly compiled executable right after it’s done being compiled. -
cor--Clean-> deletes the build files (.objand.asmproduct files) after compilation is complete - ***And hopefully more to come! I already have some ideas! :b
WE’RE ON PYPI!!!!!!!!!!
Check it out HERE!!!
And finally, the boring bugfixes… :(
A couple things:
- I realized, after a very smart friend of mine pointed it out, that I was not popping the stack after pushing it to call a function…
If I left this in, more complex programs would crash due to a stack overflow…. - I added comment clearing! Originally, the compiler would only read BF code that happened to be one of the 8 valid characters, but what if you happened to put a valid BF char in a comment? Well now there’s a loop that runs before the rest of the compiler that strips all lines of their text after a
;character, meaning all comments get deleted! - I also added more error handling, so in case of a file not found or something, instead of the code crashing it just prints an error to the logs and returns.
Thanks for sticking around for my devlog!
see ya next time! :b

) to run first and now it works fine! I also just added some more error logging with the textual notification system in case something goes wrong and bumped up the PyPi python package version to