Regular Expressions project



For this project, we experiment with the use of regular expressions. The end result is a "code beautifier" in which operators in the code are colored based on their function. I chose the following colors:

RED - variable declarations
GREEN - loop controls
BLUE - comments
YELLOW - compiler directives
PURPLE - logic statements

Here's the code

Click here to the see the program applied to julia.c from project #1