emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rewriting make-docfile.c in Lisp?


From: Eli Zaretskii
Subject: Re: Rewriting make-docfile.c in Lisp?
Date: Wed, 05 May 2021 21:49:04 +0300

> From: Spencer Baugh <sbaugh@catern.com>
> Cc: emacs-devel@gnu.org
> Date: Wed, 05 May 2021 12:49:12 -0400
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> >> Couldn't this be written in Lisp?
> >
> > make-docfile does several jobs; did you mean to convert them all to
> > Lisp?  One of them is globals.h, which is needed for compiling the
> > Emacs C sources.
> 
> Ah, I didn't see that globals.h was generated by make-docfile. I just
> meant generating etc/DOC. Pluss any other jobs done by make-docfile that
> aren't required to compile Emacs, if there are any.

But writing globals.h uses the same text-parsing code as the other
jobs, so I'm not sure it's a win to rewrite only the DOC parts in
Lisp, as we'd still need to maintain the globals part.

Does anyone else have an opinion?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]