comp.lang.ada
 help / color / mirror / Atom feed
* c2ada
@ 2001-07-23 11:50 Harry
  2001-07-23 12:26 ` c2ada David C. Hoos
  2001-07-23 15:08 ` c2ada Dmitriy Anisimkov
  0 siblings, 2 replies; 13+ messages in thread
From: Harry @ 2001-07-23 11:50 UTC (permalink / raw)


I thought I once saw a program for roughly converting c source code to ada. 
Anyone know where it is?

Harry




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: c2ada
  2001-07-23 11:50 c2ada Harry
@ 2001-07-23 12:26 ` David C. Hoos
  2001-07-23 15:08 ` c2ada Dmitriy Anisimkov
  1 sibling, 0 replies; 13+ messages in thread
From: David C. Hoos @ 2001-07-23 12:26 UTC (permalink / raw)
  To: comp.lang.ada; +Cc: Harry

It's at
http://www.skinner.demon.co.uk/aidan/programming/
for Linux.

You really should specify the platform in which you're interested,
because the platform-dependent nature of C requires a platform-
dependent translator.

----- Original Message -----
From: <Harry@ada.eu.org>; <E.Tucker@ada.eu.org>; "Jr"
<snagaghash@sonetcom.com>
Newsgroups: comp.lang.ada
To: <comp.lang.ada@ada.eu.org>
Sent: Monday, July 23, 2001 6:50 AM
Subject: c2ada


> I thought I once saw a program for roughly converting c source code to
ada.
> Anyone know where it is?
>
> Harry
>
> _______________________________________________
> comp.lang.ada mailing list
> comp.lang.ada@ada.eu.org
> http://ada.eu.org/mailman/listinfo/comp.lang.ada
>




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: c2ada
  2001-07-23 11:50 c2ada Harry
  2001-07-23 12:26 ` c2ada David C. Hoos
@ 2001-07-23 15:08 ` Dmitriy Anisimkov
  1 sibling, 0 replies; 13+ messages in thread
From: Dmitriy Anisimkov @ 2001-07-23 15:08 UTC (permalink / raw)


There is CBIND precompiled for Win32 on my page.

http://vagul.tripod.com/

It is for converting C header files.

.








^ permalink raw reply	[flat|nested] 13+ messages in thread

* c2ada
@ 2004-02-27 12:08 Frank Piron
  2004-02-27 14:25 ` c2ada Jeff C,
  0 siblings, 1 reply; 13+ messages in thread
From: Frank Piron @ 2004-02-27 12:08 UTC (permalink / raw)


Hi,
i guess this question is posted periodically
to this forum:
Does anybody know what happened to c2ada resp.
cbind?
-- 
The elements of the empty set have all properties.
Means: To have all may be caused by to be nothing.
f__r__a__n__k__at__k__o__n__a__d__d__o__t__n__e__t



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: c2ada
  2004-02-27 12:08 c2ada Frank Piron
@ 2004-02-27 14:25 ` Jeff C,
  2004-02-27 15:42   ` c2ada Frank Piron
  2004-02-27 16:51   ` c2ada Jean-Pierre Rosen
  0 siblings, 2 replies; 13+ messages in thread
From: Jeff C, @ 2004-02-27 14:25 UTC (permalink / raw)


Cbind is still here
http://unicoi.kennesaw.edu/ase/ase02_02/tools/

with minor tweaks I can still compile and run this under Linux today

I always had issues getting c2ada setup right because of the python
dependancies.


There is a binary and source RPM for c2ada at
http://www.gnuada.org/misc.html





"Frank Piron" <empty@zero.nil> wrote in message
news:opr302oqsim0et4w@news.online.de...
> Hi,
> i guess this question is posted periodically
> to this forum:
> Does anybody know what happened to c2ada resp.
> cbind?
> -- 
> The elements of the empty set have all properties.
> Means: To have all may be caused by to be nothing.
> f__r__a__n__k__at__k__o__n__a__d__d__o__t__n__e__t





^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: c2ada
  2004-02-27 14:25 ` c2ada Jeff C,
@ 2004-02-27 15:42   ` Frank Piron
  2004-02-27 16:51   ` c2ada Jean-Pierre Rosen
  1 sibling, 0 replies; 13+ messages in thread
From: Frank Piron @ 2004-02-27 15:42 UTC (permalink / raw)


Fri, 27 Feb 2004 14:25:54 GMT Jeff C, <jcreem@yahoo.com> wrote:
> Cbind is still here
> http://unicoi.kennesaw.edu/ase/ase02_02/tools/
>
> with minor tweaks I can still compile and run this under Linux today
>
> I always had issues getting c2ada setup right because of the python
> dependancies.
>
>
> There is a binary and source RPM for c2ada at
> http://www.gnuada.org/misc.html
Thanks a lot. I'll try.
Frank



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: c2ada
  2004-02-27 14:25 ` c2ada Jeff C,
  2004-02-27 15:42   ` c2ada Frank Piron
@ 2004-02-27 16:51   ` Jean-Pierre Rosen
  1 sibling, 0 replies; 13+ messages in thread
From: Jean-Pierre Rosen @ 2004-02-27 16:51 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 775 bytes --]


"Jeff C," <jcreem@yahoo.com> a �crit dans le message de news:SrI%b.70885$4o.91168@attbi_s52...
> There is a binary and source RPM for c2ada at
> http://www.gnuada.org/misc.html
>
This one is not the latest version.

I inquired about C2Ada some times ago, and Jorg van Daelen provided me with a version he got from Nasser Abbasi's website (which
disappeared since).
I transmitted that to Tuck (who had lost the original), since it would be the logical place to put it. He didn't do it yet, I guess
he has some more important duties on his to-do stack :-)

I can send it to anybody interested, just write me privately.

-- 
---------------------------------------------------------
           J-P. Rosen (rosen@adalog.fr)
Visit Adalog's web site at http://www.adalog.fr





^ permalink raw reply	[flat|nested] 13+ messages in thread

* c2ada
@ 2004-07-09 20:24 Stany Marcel
  2004-07-10  6:15 ` c2ada Wilhelm Spickermann
  0 siblings, 1 reply; 13+ messages in thread
From: Stany Marcel @ 2004-07-09 20:24 UTC (permalink / raw)


Hi,

I'm searching for the c2ada tool, is it still availlable somewhere? All
links I have found (like http://www.inmet.com/~mg/c2ada/c2ada.html) are
down. Or else is there another tool to make easyer writing of binding for C
libraries.

Thanks,

-- 
Stany MARCEL




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: c2ada
  2004-07-09 20:24 c2ada Stany Marcel
@ 2004-07-10  6:15 ` Wilhelm Spickermann
  0 siblings, 0 replies; 13+ messages in thread
From: Wilhelm Spickermann @ 2004-07-10  6:15 UTC (permalink / raw)


Stany Marcel wrote:

> I'm searching for the c2ada tool, is it still availlable
> somewhere? All links I have found (like
> http://www.inmet.com/~mg/c2ada/c2ada.html) are down.

An 2001 Linux source package (RPM) is at
http://www.gnuada.org/linux/rpms/common/SRPMS/c2ada-0.3-1.src.rpm

It contains the original inmet sources together with patches etc.
for GNU/Linux.

Wilhelm




^ permalink raw reply	[flat|nested] 13+ messages in thread

* c2ada
@ 2006-06-02  5:34 Lance
  2006-06-03  0:58 ` c2ada Nasser Abbasi
  2006-06-03 12:32 ` c2ada Jeffrey Creem
  0 siblings, 2 replies; 13+ messages in thread
From: Lance @ 2006-06-02  5:34 UTC (permalink / raw)


Has anyone used c2ada recently? I've found (mentioned in this group's
archives) this link:

http://12000.org/my_notes/ada/#_Toc106481150

and it seems to be a substantial piece of work, but it won't compile on
OS X 10.4.6 and I'm having negative fun trying to fix the C source (I
don't know much about C).

Jerry




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: c2ada
  2006-06-02  5:34 c2ada Lance
@ 2006-06-03  0:58 ` Nasser Abbasi
  2006-06-04  4:59   ` c2ada Lance
  2006-06-03 12:32 ` c2ada Jeffrey Creem
  1 sibling, 1 reply; 13+ messages in thread
From: Nasser Abbasi @ 2006-06-03  0:58 UTC (permalink / raw)



"Lance" <lanceboyle@qwest.net> wrote in message 
news:1149226465.148165.303800@h76g2000cwa.googlegroups.com...
> Has anyone used c2ada recently? I've found (mentioned in this group's
> archives) this link:
>
> http://12000.org/my_notes/ada/#_Toc106481150
>
> and it seems to be a substantial piece of work, but it won't compile on
> OS X 10.4.6 and I'm having negative fun trying to fix the C source (I
> don't know much about C).
>
> Jerry
>

hi;

When I did the above 'port' it was few years ago to red hat linux.

I have not visited this since then.  I really need to try to build this 
again on new linux systems when I have some time. I do not have access to OS 
X to try it.

It might be just a matter of making some changes to the Makefile, or small 
tweek of the header files. without knowing what errors you are getting, hard 
to know.

If you do manage to port it to OS X, I can post it on my web page above with 
credit to you for porting it.

Nasser








^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: c2ada
  2006-06-02  5:34 c2ada Lance
  2006-06-03  0:58 ` c2ada Nasser Abbasi
@ 2006-06-03 12:32 ` Jeffrey Creem
  1 sibling, 0 replies; 13+ messages in thread
From: Jeffrey Creem @ 2006-06-03 12:32 UTC (permalink / raw)


Lance wrote:
> Has anyone used c2ada recently? I've found (mentioned in this group's
> archives) this link:
> 
> http://12000.org/my_notes/ada/#_Toc106481150
> 
> and it seems to be a substantial piece of work, but it won't compile on
> OS X 10.4.6 and I'm having negative fun trying to fix the C source (I
> don't know much about C).
> 
> Jerry
> 

I have not had a lot of yuck with this in many years.

Note that an alternative is slowly becoming available which I think 
promises to be a better long term solution (when one is looking for 
automatic bindings).


There is some work underway to add an Ada output module to SWIG 
(www.swig.org).

The hope is to fold the work into the SWIG CVS archive but at the 
moment, it is hosted within SVN at the GNUAda project. It does "work" on 
on the example programs in the SWIG test suite but there is certainly 
more work to be done. Right now I think there are just two people trying 
to get this up and running but I think there are issues about the way 
brindings are created that would benefit from discussion and having a 
wider audience looking at the results.



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: c2ada
  2006-06-03  0:58 ` c2ada Nasser Abbasi
@ 2006-06-04  4:59   ` Lance
  0 siblings, 0 replies; 13+ messages in thread
From: Lance @ 2006-06-04  4:59 UTC (permalink / raw)



Nasser Abbasi wrote:
> "Lance" <lanceboyle@qwest.net> wrote in message
> news:1149226465.148165.303800@h76g2000cwa.googlegroups.com...
> > Has anyone used c2ada recently? I've found (mentioned in this group's
> > archives) this link:
> >
> > http://12000.org/my_notes/ada/#_Toc106481150
> >
> > and it seems to be a substantial piece of work, but it won't compile on
> > OS X 10.4.6 and I'm having negative fun trying to fix the C source (I
> > don't know much about C).
> >
> > Jerry
> >
>
> hi;
>
> When I did the above 'port' it was few years ago to red hat linux.
>
> I have not visited this since then.  I really need to try to build this
> again on new linux systems when I have some time. I do not have access to OS
> X to try it.
>
> It might be just a matter of making some changes to the Makefile, or small
> tweek of the header files. without knowing what errors you are getting, hard
> to know.
>
> If you do manage to port it to OS X, I can post it on my web page above with
> credit to you for porting it.
>
> Nasser

I could give a few more details but one of the main problems was
apparently every occurrence of _bool. The compiler didn't like it at
all. (Note the underline at the beginning.) I just started commenting
it out whenever it popped up, to help the compiler get over the
immediate problem, but I didn't think that was a very robust solution.
There were a couple of other things that seemed fairly minor as well.
But I wasn't at all sure that my commenting-out exercise would work
when it was all done, and all I needed was to make a thin binding (to
PLplot) and it seemed more direct to learn a bit of regex and do the
rest by hand.

Also, there seemed to be two or three lines at the beginning of
gperf-related file which caused gperf to choke, but deleting them
seemed to solve that problem.

If I return to the project I'll post back here, or I can fill you in on
some more details of what I did a couple days ago. Like I mentioned in
my first post, it is a substantial piece of work and it would be a
shame to have it wither away. I understand the company that was was
responsible for creating it was purchased several years ago.

Jerry




^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2006-06-04  4:59 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-09 20:24 c2ada Stany Marcel
2004-07-10  6:15 ` c2ada Wilhelm Spickermann
  -- strict thread matches above, loose matches on Subject: below --
2006-06-02  5:34 c2ada Lance
2006-06-03  0:58 ` c2ada Nasser Abbasi
2006-06-04  4:59   ` c2ada Lance
2006-06-03 12:32 ` c2ada Jeffrey Creem
2004-02-27 12:08 c2ada Frank Piron
2004-02-27 14:25 ` c2ada Jeff C,
2004-02-27 15:42   ` c2ada Frank Piron
2004-02-27 16:51   ` c2ada Jean-Pierre Rosen
2001-07-23 11:50 c2ada Harry
2001-07-23 12:26 ` c2ada David C. Hoos
2001-07-23 15:08 ` c2ada Dmitriy Anisimkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox