This is a really impressive project. I was just thinking yesterday
that if someone wrote an editor in Perl,
and designed the internals properly, it would be
trivial to use Perl as an extension language for it.
Are you planning to do something like that?