This is styler50, a Python 3 program which stylizes C code following the guidelines of style50 and CS50's style website (https://manual.cs50.net/style/). styler50 takes in code from a given file and tokenizes it, breaking it down into a list of words, numbers, and symbols. Then, it proceeds to write these tokens to a string, adding space where needed in order to stylize the code correctly. Finally, it overwrites the original code on said file with the new, stylized code. styler50 is not perfect, as it is impossible to implement every little detail of stylizing C code. However, in most cases, code outputted by styler50 will pass style50 checks and adhere to the guidelines on the website.
Follow styler50
Other Useful Business Software
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of styler50!