Jamis Buck wrote: >>>Syntax is an experimental Ruby library for syntax highlighting source >>>code. Currently, it supports Ruby, XML, and YAML. Other lexers must be >>>implemented separately (patches would be appreciated!). >> >>If you can somehow integrate this with IRB you would be one of my >>personal superheros. Maybe more. :) > > Wow. That would be very, very cool. Are you envisioning this > highlighting the code as you type? I wish I were more familiar with > IRB's innards, because that would be really, really cool. :) Yup, but I fear this would require some advanced curses trickery to work properly. I guess highlighting after you have typed a complete line could work without that, even if it would be slightly less cool.