Re: Plan to Update GPC

"Schneider, Thomas (NIH/NCI) [E]" <[email protected]> Thu, 13 Aug 2020 15:28:39 +0000
Newsgroups gmane.comp.compilers.gpc
Message-ID <[email protected]>
Scott:

I'm just looking for Pascal compilers that run on macOS.  My programs
follow the original compilers in which the files listed at the top of
the program are directly read and written to by the Pascal program. 
GPC used to do this.  P2C (which I maintain apparently) translates to
C and then provides this.  I don't know what ISO that corresponds to.

> For your second point, I assume you are talking about the
> Pascal-P1-P6 thing? (not sure I understand your point about "name
> change breaks the code")

I write scripts that call compilers with the parameters needed to
compile my programs.  If the name of the compiler changes then the
scripts break.  For example, if the Unix 'ls' command were named ls763
and then a new version were named ls764 lots of code would break.

> Can Pascal-P be used on the Mac? Well, actually yes. Pascal-P6
> includes sufficient tooling to port without GPC (see the interpreter
> written in C). I don't really push that capability because P6 is
> still in development, and also because interpreters are not really
> my thing (yes, I know that sounds funny). I like compilers. To me
> interpreters are more of a fun toy than not, although I note that
> there is a group pushing interpreters as "VM"s for professional use.
> Pascal-P5 has actually been written up as such. Again, not bad, just
> not my thing.

Ok, maybe when P6 is stablized and GPC independent it can be used to
compile on macOS.

> I should mention there is a branch from P5 known as P5c that that
> changed the compiler into a Pascal to C translator that accomplishes
> porting in a different way. You would have to look into that
> yourself, I'm not really up to speed on that.

That's interesting, thanks.

https://sourceforge.net/projects/pascal-p5c/

Tom

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