Introduced new lexer implementation for syntax highlighting