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
Passwordless authentication enables a secure and frictionless experience for your users | Auth0 Icon
Over two-thirds of people reuse passwords across sites, resulting in an increasingly insecure e-commerce ecosystem. Learn how passwordless can not only mitigate these issues but make the authentication experience delightful. Implement Auth0 in any application in just five minutes
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