6 ms·
Much of Emacs is written in its own version of Lisp. There has been some effort to use Scheme, using GNU Guile https://www.emacswiki.org/emacs/GuileEmacs https
by melling 8y ago
Much of Emacs is written in its own version of Lisp. There has been some effort to use Scheme, using GNU Guile
https://www.emacswiki.org/emacs/GuileEmacs https://www.emacswiki.org/emacs/GuileEmacs
Emacs with a better Lisp option would be a big improvement. With a faster Lisp, perhaps less of Emacs would need to be written in C/Rust.
- cnasc 8y agoMinor correction: guile Emacs doesn’t replace Emacs lisp with scheme. It just uses guile as a backend for Emacs lisp.
- microcolonel 8y agoMinor addition, Guile Emacs does allow you to use Scheme in addition to elisp, AFAIK.
- armitron 8y agoMinor addition, Guile Emacs is a dead project since not a single person from the core Emacs development group cares enough about it to work on it. Emacs Lisp is getting better all the time feature-wise, is portable to all main operating systems (good luck running Guile on Windows and macOS without issues) has enormous user base and is rock solid.
- na85 8y agoCan't speak for Windows but Guile runs on my mac just fine.
- girzel 8y agoWhat would make most sense is just to have it Lisp all the way down. SBCL, top to bottom!
- z3phyr 8y agoThat should be the goal. To please rms, one can always use a GPL language implementation too..
- sjm-yc-acct 8y agoThere have been some efforts like this (etc.) for Emacs on CL: https://common-lisp.net/project/phemlock/ https://common-lisp.net/project/phemlock/ I have never been able to get one to work, though. MIT Scheme also has an Emacs 18 compatible editor called edwin written in Scheme.
- rjsw 8y agoHemlock was written as part of CMUCL and is still supplied with it. The portable version is also used as the editor in Clozure CL. What didn't work for you ?
- sjm-yc-acct 8y agoI tried Portable Hemlock from Quicklisp, and IIRC it would not install from the repos. On Clozure, the IDE with Hemlock only runs on OS X--I use Linux. The one in CMUCL might work, but I haven't tried it because they only have 32 bit support for x86. I wasn't trying to be dismissive--I would really like to run Emacs on CL!
- rjsw 8y agoCMUCL will run on 64-bit Linux, that is how it is built. There would obviously be a smaller limit to file sizes than if Hemlock were running in a 64-bit Lisp.
- na85 8y agoIs there a serious project working on this? I'd contribute to it.
- molteanu 8y ago
- Ericson2314 8y agoYeah I feel like guile-emacs, then rust-guile, is the proper migration path.