Mollusk has released the source code of his text editor for the Nintendo DS. The program might not be fully finalized or useable.

http://www.dev-fr.org/forum/viewtopic.php?pid=335#p335