parser for DL interface

  • Thread starter Elias Athanasopoulos
  • Start date
E

Elias Athanasopoulos

Hello!

Has anyone created a Ruby script to auto-generate structs
and enums for the Ruby/DL interface?

I am thinking of creating a minimalistic parser for such
a task. Would be something like this be usefull?

Regards,
 
P

Phil Tomson

Hello!

Has anyone created a Ruby script to auto-generate structs
and enums for the Ruby/DL interface?

I am thinking of creating a minimalistic parser for such
a task. Would be something like this be usefull?

You mean it would parse the .h files to find structs and enums and then do
the proper conversions for use with Ruby/DL? That would be very useful.
Please do it :)


BTW: I went to our local PerlMongers meeting last night because there was
a presentation on Parrot. The goal of Parrot's dynamic loader (to load
shared libs) was to make even easier/better than Ruby's (Ruby was
considered the best model). So it seems that they're planning to add
something like you mention to Parrot.

Phil
 
E

Elias Athanasopoulos

You mean it would parse the .h files to find structs and enums and then do
the proper conversions for use with Ruby/DL? That would be very useful.

Yes. I will give it a try.

Regards,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
474,145
Messages
2,570,824
Members
47,370
Latest member
desertedtyro29

Latest Threads

Top