Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Alignment Issues with *ManagedStruct?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tim Bunce  
View profile  
 More options Feb 5 2004, 8:49 am
Newsgroups: perl.perl6.internals
From: Tim.Bu...@pobox.com (Tim Bunce)
Date: Thu, 5 Feb 2004 13:39:44 +0000
Local: Thurs, Feb 5 2004 8:39 am
Subject: Re: Alignment Issues with *ManagedStruct?

On Thu, Feb 05, 2004 at 11:04:40AM +0100, Jens Rieks wrote:

> > I thought of that too. A Perl script that takes a C struct and emits an
> > *ManagedStruct initializer. WRT align: as such struct initializers are
> > in library code and used by different machines, I'd rather have the
> > alignment calculation inside the unmanagedstruct.pmc.

> I'am currently writing a simple C-parser in imc. My plan is to extract all
> structs, enums, unions and typedefs in order to create ManagedStructs
> automatically.
> If one goes even a step further, it should even be possible to create pasm/imc
> wrapper for C functions automatically.
> The tokeniser is already working, but the token processing is of course not
> very simple, but I think I will have a first working alpha version within the
> next few days.

Have you looked at http://search.cpan.org/~grichter/ExtUtils-XSBuilder/ ?

Tim.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.