Syntax highlighting
After each line, one can tokenize the code using nim scan, and colorize the input. It would be best if that happened after each char as in IPython, is it possible to have such a handler with linenoise?