So im trying to make a script using Lexing and Parsing. I wanted to try and change the color of the texts when a user inputs something.
Say in python when I do: '''print("Hello")''' It changes the color of print, string, parens, etc. I just wanted to know how to do it and/or the code to do it.
Say if my user types: '''hello NAME''' It will change the color of "hello" to green or something. Does anyone know how?