Lisp/TeXmacs (was Re: redefining SBCL prompts)



On May 30, 5:51 pm, Pillsy <pillsb...@xxxxxxxxx> wrote:

You might have more luck asking on the sbcl-help mailing list.

No need. I figured it out. SB-DEBUG::DEBUG-PROMPT can be
handled similarly to ordinary prompt, except that I had
no luck SETF'ing it to a lambda (even with package locks
turned off). Instead, I needed to unlock the package, and
DEFUN it. Whatever. It works, and now I have SBCL working
in TeXmacs. This will probably make it into the next
version of TeXmacs (supported Lisps are now: Clisp, CMUCL,
SCL, and SBCL).

Now I need to come up with a portable library to use
TeXmacs from Lisp.

If anyone plays with the Lisp/TeXmacs combo and has some
ideas, I'd love to hear them. One can deliver TeXmacs
formatted content as s-expressions already since it
uses Guile as its internal extension language. So the
CL library really just needs to provide a nice way to
transport said content to TeXmacs, and maybe a
pretty-printer would be nice.

.