It's not so much that I don't want to use a library, but more that I would be unable to use much of the core language for the processing and would have to do everything in/with the library and store my text in Unicode-aware holders rather than just strings.
If that's how it ends up, then so be it, but I'll try TCL first and know that I have Lua as a reasonable fall back plan.