Syntax highlighter in OCaml