Scott:
I don't understand the difference between p4 and p5. I see p6 is under development. If I try it, should I use:
Pascal-P4 is a Pascal subset. Pascal-P5 is full ISO 7185. Pascal-P6 is an extended Pascal. P5 is 1.3, so yes, pascal-p5_1_3.tar.gz.
Ok, thanks!
I got
https://sourceforge.net/projects/pascalp5/files/pascal-p5_1_3.tar.gz/downloa...
There is no mention of macOS in the README.
The README says:
The full instructions for running and setting up the P5 compiler/interpreter have all been incorporated into the document:
doc/the_p5_compiler.docx
Which is a Microsoft Word document, 2007 or later. it is also available in the formats:
doc/the_p5_compiler.pdf Adobe Portable Document Format. doc/the_p5_compiler.html Web page format. doc/the_p5_compiler.doc Word 1997-2003 format.
Please consult one of these documents for full instructions on how to use P5.
But that's not true. The doc/ diretory only contains:
The_Programming_Language_Pascal_1973.pdf basic.docx iso7185rules.html the_p5_compiler.docx
The_Programming_Language_Pascal_1973.pdf is great to have a copy of!
I used libreoffice to convert to pdf:
/Applications/LibreOffice.app/Contents/MacOS/soffice -env:UserInstallation=file:///tmp/schneidt.lico --headless --convert-to pdf basic.docx
2 Beta software warning p5 Basic is beta software at this time (version <1). It should not be considered reliable for production use.
Oh my. Looks like your documentation may be out of date. Is this still beta despite version > 1?
Convert the other docx:
/Applications/LibreOffice.app/Contents/MacOS/soffice -env:UserInstallation=file:///tmp/schneidt.lico --headless --convert-to pdf the_p5_compiler.docx
This one is dated August 29, 2014 and on page 14 it says:
Is P5 a sueable compiler for real applications? I would assert that it is not.
That's no good!
./setpath ./configure make
% ./setpath ./setpath: Permission denied.
You have the windows setpath.bat but have not set the permissions on setpath correctly. % chmod u+x setpath
egg 320% ./configure ./configure: Command not found.
% chmod a+rx configure % ls -l configure -rwxr-xr-x 1 schneidt admin 6469 Jan 5 2018 configure* % ./configure ./configure: Command not found. %
This is really weird.
Please set it up to work on macOS.
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 schneidt@mail.nih.gov https://alum.mit.edu/www/toms