Immediate thought: Reverse direction, and look for screen readers which have some understanding of computer language syntax. Or consider developing one yourself. Editors such as vim have been doing syntax highlighting for ~25 years now, building on that technology might be the best approach...
[Hurries into concrete bunker before the first salvo of "emacs could do..." replies arrives]