"In Part 2 of this series, I explain how the CDT editor updates
its text presentation by responding to each keystroke. But it does
much more than simply display keywords in a specific color and
font: It also analyzes the structure of the code and keeps track of
every function, statement, and variable.
"This analysis, called parsing, is a vast subject that continues
to provide computer scientists with new avenues of research. I'll
briefly explain some of the theory behind parsing, but I'll focus
on the mechanics of the CDT's operation. My goal is to provide
enough information so that, if you'd like to improve or modify the
CDT parser, you know which classes and methods to alter, and how to
Some of the products that appear on this site are from companies from which QuinStreet receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. QuinStreet does not include all companies or all types of products available in the marketplace.