2 ms·
Seriously, why not just use Lua? It's perfect for this.
by sdegutis 12y ago
Seriously, why not just use Lua? It's perfect for this.
- tree_of_item 12y agoPerfect for what? Interacting with Lisp? Lua isn't even remotely an option.
- TeMPOraL 12y agoFor building a text editor on-top of a running Lua instance, the way Emacs is a living Lisp image with a text editor bolted on top? I don't see it.
- krylon 12y agoI one were to start from scratch, writing an emacs-like text editor by building it on top of a small programming language you can use for customizing and extending the editor, Lua would a great choice. Lua has only a tiny standard library, but in writing the core of the editor, you probably have to supply the equivalent functionality yourself, anyway. But I do not see how you could bolt Lua on to GNU Emacs. You would have to start from scratch, and that would be a lot of work. And even then, there is the fact, that GNU Emacs is already well-established, has a very loyal user base and is - by and large - good enough, even great for most purposes, so even if you wrote LMacs or whatever one would call it, you would probably end up with, like, a dozen users or so. (IIRC the Zile project, a small emacs-like editor, has tried this, but I do not know how far they got with this.)