Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
We don't bite newbies here... much
 
PerlMonks  

Perl and ADA

by Anonymous Monk
on May 10, 2004 at 14:43 UTC ( #352076=perlquestion: print w/ replies, xml ) Need Help??
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Is there any known module that allows perl and ADA to interact with each other?

Comment on Perl and ADA
Re: Perl and ADA
by Abigail-II (Bishop) on May 10, 2004 at 14:48 UTC
    What did you find when searching for 'Ada' on CPAN?

    Abigail

      I'm not sure about the AM, but I just did a search on CPAN (both regular and Kobes) and on Google and found nothing at all. I thought you might know something and were giving a hint to the AM, but that does not appear to be the case. So I think this might be a legitimate forum for the question, although I doubt there is anything out there.

      --
      Damon Allen Davison
      http://www.allolex.net

        Well, I'd say the fact there isn't an Ada related module on CPAN is a big hint. Unless you happen to know another site for distributing (non-web) Perl modules.

        Abigail

      What did *you* find when searching CPAN before telling someone to RTFM/STFW? (I have done so, so I know the answer.) If there's no FM to R, this isn't exactly useful feedback.
        I found the same as you did.

        What makes you think the answer to the OP could not be "no"?

        Abigail

Re: Perl and ADA
by stvn (Monsignor) on May 10, 2004 at 18:34 UTC
Re: Perl and ADA
by raptnor2 (Beadle) on May 11, 2004 at 01:39 UTC
    Which ADA compiler are you using? I believe most of them ultimately compile down to C (at least this seems to be the general ADA philosophy). If it does, you should be able to get to it at the C level.

    Cheers,

    John

      I know that some Ada-to-C compilers exist, but most of the commercial Ada compilers out there that I know all compile to machine code. I think too that gcc 3.0+ now incorporates the GNAT Ada component, so likely there it compiles to the gcc intermediate language, then to machine code. But alot of the Ada work done is for embedded systems, and I am pretty sure they would be compiling to machine operations and not C. However, I do think thought that the Ada for Lego Mindstorms compiles into NQC (Not Quite C) first. And there is a Ada compiler for the JVM, but that bypasses Java and goes straight to bytecode.

      -stvn
Re: Perl and ADA
by gsiems (Chaplain) on May 11, 2004 at 02:33 UTC

    Don't know if this helps at all, but is using CORBA an option? There appears to be ADA bindings for CORBA as well as a CORBA::ORBit module for Perl.

    Update: Another thought-- if using Unix sockets is an option then perhaps ADASockets plus IO::Socket or some such...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://352076]
Approved by Paladin
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (18)
As of 2013-06-20 12:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many continents have you visited?









    Results (685 votes), past polls