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

Other Useful Business Software
Your top-rated shield against malware and online scams | Avast Free Antivirus Icon
Your top-rated shield against malware and online scams | Avast Free Antivirus

Browse and email in peace, supported by clever AI

Our antivirus software scans for security and performance issues and helps you to fix them instantly. It also protects you in real time by analyzing unknown files before they reach your desktop PC or laptop — all for free.
Free Download
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