Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Well it's interesting to see how to make a text editor in javascript (vs. one in C, for example my own: JOE). The top level libraries used seem to be: blessed, undo.js, cheerio (jQuery?), entities, lex, winston (logging), bluebird (promises), highlight.js, lazy.js (based on underscore), rc, fs, path, xtend, traverse, util, copy-paste.

I think I can see that there is heavy use of lazy.js to make string processing faster. Text buffer seems to be an array of lines...

The nearly complete lack of comments is amazing :-) The author should write some kind of hacking guide or similar documentation if he wants others to help with the project or at least to see how it works.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: