emacs-devel
[Top][All Lists]
Advanced

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

Re: User-reserved element in byte code vectors


From: Lars Brinkhoff
Subject: Re: User-reserved element in byte code vectors
Date: 28 Apr 2004 17:08:43 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Stefan Monnier <address@hidden> writes:
> > It can be useful to store user-defined objects in a byte code
> > vector.
> I can't think of why that would be useful.  Could you give us some
> examples?

It can be useful when compiling languages other than Emacs Lisp to
byte code.  In my case, I'm writing a Common Lisp compiler, and it
would be nice to store in the byte code vector things like a closure
environment, a function name, the original lambda expression, and
other meta data that Common Lisp can associate with a function object.

-- 
Lars Brinkhoff,         Services for Unix, Linux, GCC, HTTP
Brinkhoff Consulting    http://www.brinkhoff.se/





reply via email to

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