The most efficient way I know to go about
syntax highlighting is using a finite state machine with output
(deterministic or non-deterministic, and Mealey or Moore types, if you
want to search for really nasty details).
just out of curiosity... how is a FSM any different than a RE in terms of what you're talking about?
H
Posts made by hoens
-
RE: Syntax highlighting: its been bothering me