16 ms·
Slightly off-topic. I'm looking for a tutorial/article/project to create a toy (or even feature-full) emacs-like text editor from the ground up. Using two lang
by fizixer 11y ago
Slightly off-topic. I'm looking for a tutorial/article/project to create a toy (or even feature-full) emacs-like text editor from the ground up.
Using two languages: C and scheme (preferably R7RS-small).
I have quite a few resources to create a vi/vim like editor from scratch (vis, some python projects, etc) but non in the scheme+C arena along emacs lines.
Emacs project itself is a bad example of studying the architecture of such an editor because of its humongous codebase (~250 kloc C, ~1.2 Mloc e-lisp) unless someone has done a good write-up about how to get familiar with architecture and extensibility infrastructure.
- aban 11y agoI haven't seen any tutorials for writing an emacs-like editor, but I think studying the source of QEmacs [0] and mg [1] is a good starting point. [0]: http://bellard.org/qemacs/ http://bellard.org/qemacs/ [1]: http://homepage.boetes.org/software/mg/ http://homepage.boetes.org/software/mg/ Also, you could take a look at these: http://www.emacswiki.org/emacs/EmacsImplementations http://www.emacswiki.org/emacs/EmacsImplementations https://wiki.gentoo.org/wiki/Project:Emacs/Emacs-like_editors https://wiki.gentoo.org/wiki/Project:Emacs/Emacs-like_editor... http://texteditors.org/cgi-bin/wiki.pl?EmacsFamily http://texteditors.org/cgi-bin/wiki.pl?EmacsFamily
- ruricolist 11y agoYou might want to look at Zile: https://www.gnu.org/software/zile/ https://www.gnu.org/software/zile/
- topkekz 11y agoThe Craft of Text Editing --or-- Emacs for the Modern World https://www.finseth.com/craft/ https://www.finseth.com/craft/