Linux Today: Linux News On Internet Time.

More on LinuxToday

developerWorks: Building a CDT-Based Editor, Part 3: Basic CDT Parsing

Oct 17, 2006, 05:15 (0 Talkback[s])
(Other stories by Matthew Scarpino)


Desktop-as-a-Service Designed for Any Cloud ? Nutanix Frame

[ Thanks to An Anonymous Reader for this link. ]

"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 alter them..."

Complete Story

Related Stories: