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
hoens
@hoens
0
Reputation
1
Posts
20
Profile views
0
Followers
0
Following
Best posts made by hoens
This user hasn't posted anything yet.
Latest posts made by hoens
-
RE: Syntax highlighting: its been bothering me