2018-03-12 Writing an Editor

I’d like to collect some links to tutorials teaching readers how to write their own editor. These editors will necessarily be small, but perhaps they’ll be easy to adapt to your own taste.

Vip is a vi-style editor in PicoLisp.

Build Your Own Text Editor: “It’s about 1000 lines of C in a single file with no dependencies, and it implements all the basic features you expect in a minimal editor, as well as syntax highlighting and a search feature. This booklet walks you through building the editor in 184 steps.” I was super impressed when I started reading it (but I never finished it).

Tags:

Comments


Please make sure you contribute only your own work, or work licensed under the GNU Free Documentation License. Note: in order to facilitate peer review and fight vandalism, we will store your IP number for a number of days. See Privacy Policy for more information. See Info for text formatting rules. You can edit the comment page if you need to fix typos. You can subscribe to new comments by email without leaving a comment.

To save this page you must answer this question:

Please say HELLO.