Hi!
I wonder how compiler detects keywords? For example : when i run a C compiler , it detects keywords and highlight them.
My question is , what kind of algorithm that compiler uses for detecting keywords?