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
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Start Free
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