Re: Is GPC dead?

Schneider <[email protected]> Wed, 4 Jan 2017 01:08:23 -0500
Newsgroups gmane.comp.compilers.gpc
Message-ID <[email protected]>
Leo:

> https://sourceforge.net/p/p2ada/code/HEAD/tree/
> http://p2ada.sourceforge.net/pascada.htm

I looked into this last July.  I got the converter going and I got the
compiler running.  My final note:

> 2016 Jul 18
> 
> Currently hung because ada cannot handle files other than input and output.
> That is, it crashes if one tries to writeln(afile, 'something');

Example:

program shell(afile, output);
var
   afile: text;
begin
   rewrite(afile);
   writeln(afile, 'shell output');
end.

This produces a file called 'afile' with contents 'shell output'.  It
compiles with FPC and translates to c and compiles with p2c.  Ada
can't handle it.  I suspect there is a way to do it but could not find
the documentation.

Tom

  Thomas D. Schneider, Ph.D.
  Senior Investigator
  National Institutes of Health
  National Cancer Institute
  Center for Cancer Research
  RNA Biology Laboratory
  Molecular Information Theory Group
  Frederick, Maryland  21702-1201
  [email protected]
  https://schneider.ncifcrf.gov (current link)
  https://alum.mit.edu/www/toms (permanent link)

_______________________________________________
Gpc mailing list
[email protected]
https://www.g-n-u.de/mailman/listinfo/gpc