[Info-vax] VMS port to x86
Bob Koehler
koehler at eisner.nospam.encompasserve.org
Thu May 31 10:30:41 EDT 2012
In article <34cf8f60-eb68-45da-a902-07b1026eb67a at w24g2000vby.googlegroups.com>, hb <becker.avd at gmail.com> writes:
> On May 30, 3:53=A0pm, koeh... at eisner.nospam.encompasserve.org (Bob
> Koehler) wrote:
>
>> =A0 =A0On the other hand, I've yet to find out how to build actual data
>> =A0 =A0structures in Lisp, other than the built-in cons cell.
>
> VAX LISP? Here it goes
>
> (DEFINE-ALIEN-STRUCTURE sm-desc
> "descriptor for shared memory"
> (length :UNSIGNED-INTEGER 0 4)
> (address :POINTER 4 8))
OK, looks like some language extensions there. But how could I
convert following C struct to a Lisp such as eLisp, assuming no
padding?
struct alpha
{
int baker;
short charlie;
short delta;
char ellie[3];
};
More information about the Info-vax
mailing list