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.

Project Samples

Project Activity

See All Activity >

Follow styler50

styler50 Web Site

You Might Also Like
Build Securely on Azure with Proven Frameworks Icon
Build Securely on Azure with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of styler50!

Additional Project Details

Registered

2015-12-30