RTF lexer - can lex nested curly braces, RTF, and HTML... convert between these formats as well as plaintext.