emacs-devel
[Top][All Lists]
Advanced

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

Re: MPS: Loaded pdump


From: Gerd Möllmann
Subject: Re: MPS: Loaded pdump
Date: Thu, 16 May 2024 16:24:29 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Helmut Eller <eller.helmut@gmail.com> writes:

> On Thu, May 16 2024, Gerd Möllmann wrote:
>
>> The infrastructure for that is there, but a felt gazillion small
>> functions need to be written, one for each type :-/.
>
> Can we move dflt_scan and the fix_* functions to an extra file and then
> include that twice; each time with suitable definitions for MPS_FIX1 and
> MPS_FIX2 so that it either does the normal fixing or the mirroring?

Don't know if that's flexible enough :-(.

Another idea I had yesterday would be to have one set of functions that
when called record meta-info about types. That could be done on startup.
Generic scan and mirror function could then interpret that meta-info.
;-).

Code generation would be my personal favourite, though.

And I was sooo close to doing it in C++ in the beginning. I think I
could do that sh*t with templates, too. Too bad.

Ceterum censeo Emacs should allow C++.



reply via email to

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