A. To correct syntax errors
B. To color-code different elements of the code
C. To format the code for printing
D. To compile the code