Menu

Tree [af8c84] master /
 History

HTTPS access


File Date Author Commit
 basic 2024-02-29 samiam95124 samiam95124 [955d8c] Change regress of pascals to use testprog; chan...
 bin 4 hours ago samiam95124 samiam95124 [af8c84] Partial commit; Add verbose to testpascaline; A...
 doc 2024-04-20 samiam95124 samiam95124 [d901e9] Update binaries; ran regression; Fixed double r...
 hosts 5 days ago samiam95124 samiam95124 [6a397d] Partial commit; copied sfs instruction to pmach...
 libs 4 hours ago samiam95124 samiam95124 [af8c84] Partial commit; Add verbose to testpascaline; A...
 p2 2024-04-07 samiam95124 samiam95124 [aef220] Refactor testp2 for iso7185 host; fix pasint he...
 p4 2024-04-08 samiam95124 samiam95124 [c55da6] refactored testp4 for iso7185; convert p4/com a...
 pascaline_tests 2024-06-01 samiam95124 samiam95124 [594c42] Regress; add issue #143 to Pascaline regression...
 sample_programs 2024-05-10 samiam95124 samiam95124 [9fca57] Refactor regression; remove compile error retur...
 source 4 hours ago samiam95124 samiam95124 [af8c84] Partial commit; Add verbose to testpascaline; A...
 standard_tests 2024-06-08 samiam95124 samiam95124 [6db973] Turn lineinfo option off for PRT; reload PRT co...
 .gitmodules 2022-12-09 samiam95124 samiam95124 [45b59d] Add Pascal-P5 as submodule.
 INSTALL 2022-12-17 samiam95124 samiam95124 [b22f1e] Documentation updates.
 LICENSE 2022-12-17 samiam95124 samiam95124 [a16224] Update documentation; remove unused scripts; mo...
 NEWS 2023-05-12 samiam95124 samiam95124 [4dd352] Added to v0.2 news; Documentation changes.
 README 2023-02-15 samiam95124 samiam95124 [386ac9] Updates to README.
 TODO 2023-05-12 samiam95124 samiam95124 [543377] Removed unused document files; prep for version...
 configure 2024-04-07 samiam95124 samiam95124 [05bb88] Make iso7185 the default in configure.
 configure.bat 2022-12-27 samiam95124 samiam95124 [c60d64] Fix config for bit specific p6.bat.
 regress_report.txt 2 days ago samiam95124 samiam95124 [4bab15] Partial commit; Fixed insr/insf table errors; A...
 setpath 2024-03-02 samiam95124 samiam95124 [0e868e] Fix checkfiles; update gpc files; set environme...
 setpath.bat 2017-12-28 samiam95124 samiam95124 [050dce] Initial commit of Pascal-P6 project

Read Me

                         THE P6 COMPILER/INTERPRETER

============================== Description =====================================

This is the 6th version of the Pascal-P compiler from Zurich. Pascal-P6 is the
Pascal-P5 compiler upgraded to include the set of extensions defined by the
Pascaline language standard.

Pascal-P was an implementation kit, created between 1972 and 1974, for the
original language Pascal. The source for the original compiler was passed around
and modified quite a bit, but Niklaus Wirth noted that it was very popular, and
represented a good method to popularize the language. He gathered the source
into a clean version called Pascal-P2, which was the basis of UCSD Pascal, which
in turn was the base language for Borland Pascal. The Zurich group then created
an improved version called Pascal-P4.

Pascal-P5 is Pascal-P4 modified to accept all of the ISO 7185 language.

Pascal-P5 is Pascal-P5 extended to accept the Pascaline language.

The full instructions for running and setting up the P6 compiler/interpreter
have all been incorporated into the document:

doc/the_p6_compiler.docx

Which is a Microsoft Word document, 2007 or later.

Please consult this documents for full instructions on how to use P6.

============================== Quick start =====================================

Pascal-p6 uses the standard GNU release layout. You execute:

[Windows]

> setpath
> configure
> make

[linux]

> . ./setpath
> ./configure
> make

(You can avoid "setpath" by placing the ./bin directory on your path)

This will make the compiler and interpreter set. You can then try a sample
program as:

> p6 sample_programs/hello

================================== Problems ====================================

You need a working gpc implementation. It is strongly suggested you use the
gpc version 20070904. gpc has/had various compliance issues with ISO 7185, and
the compiler has ceased to be supported. This version is found to be solid.

You will need a working set of linux tooling (grep, ls, rm, etc). Mingw has
an excellent set of tools for Windows users.

You need the "flip" line ending adapation program. If you don't have it, we
include a copy you can compile, or you can simply go find it. It is a widely
available program.

================================== Feedback ====================================

The preferred method for feedback is to post in:

https://github.com/samiam95124/Pascal-P6/discussions/categories/general

Because if what you have to say is general to Pascal-P6, everyone can see it
there. There are also several subcatagories for messages at:

https://github.com/samiam95124/Pascal-P6/discussions

Otherwise there is my email:

samiam@moorecad.com

There is also the Pascal web page I run at:

www.standardpascal.org